Hopefully this is the best place to ask this question.
I have a class that will use Python and Numpy. There could be several
instances of this class, each using and initializing Python.
The problem I am having is with PyMethoDef which passes a table of
methods and their descriptions to Python. As far as I can tell, this
can't be a static structure. Anyone build a PyMethodDef structure inside
a C++ class so the appropiate function pointers point to the appropiate
instance of the class?
Cheers,
Karl Bellve