Newbie question: Specifying custom parameter types
Suppose I have a .h that looks like this;
extern PIX * pixCreate ( l_int32 width, l_int32 height, l_int32 depth );
extern void pixDestroy ( PIX **ppix );
extern PIX * pixClone ( PIX *pixs );
extern PIX * pixCopy ( PIX *pixd, PIX *pixs );
I tried
pix = mod.add_
mod.
mod.
But that results in:
pybindgen.
File "modulegen.py", line 41, in <module>
my_module_
File "modulegen.py", line 27, in my_module_gen
[Parameter.
File "c:\Python26\
param_
File "c:\Python26\
raise TypeLookupError
Also pixDestroy() is going to want the address of the pointer returned by pixCreate(). How would one specify that parameter?
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 T Powers for more information if necessary.