add_function_as_method error: list index out of range
i'm wrapping someone else's API and unfortunately, instead of a normal class constructor, they provide a function for creating a new class instance. it looks something like this:
class VoxelFlowBase {
...
};
VoxelFlowBase* CreateVoxelFlow();
i'm trying to use 'add_function_
VoxelFlowBa
[],
i get this error:
Traceback (most recent call last):
File "./voxelflowgen
custom_
File "/usr/local/
self.
File "/usr/local/
assert isinstance(
IndexError: list index out of range
i think that pybindgen assumes that the function should take a pointer or reference to the class as its first argument. what is the best way to add this function as a constructor/
-chad
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- PyBindGen Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Chadrik for more information if necessary.