wrapping a function with "unsigned short*" return type
Hi.
I'm trying to wrap this function using the gccxmlparser (using pybindgen 0.15):
unsigned short* GetMinimap(const char* fileName, int mipLevel);
but I get a TypeLookupError
I've tried various permutations of the return type in the header itself and tried to add type alias in the generator script, to no avail.
The full output:
INFO Parsing source file "unitsync_api.h" ...
INFO gccxml cmd: /usr/bin/gccxml -I"." -I"/share/
INFO GCCXML version - 0.9
/usr/lib/
warnings.warn( msg )
/share/
EXPORT(unsigned short*) GetMinimap(const char* fileName, int mipLevel);
The header is at https:/
and the generator script at https:/
Is there a way to resolve this?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- PyBindGen Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Gustavo Carneiro
- Solved:
- Last query:
- Last reply: