From: Ernest Obusek <ernest@wi...> - 2011-06-30 21:09:50
Is there a way I can make swig use a wrapper function of my own for a given signature, such as:
int SwigDirector_Task::create(Task *&OUTPUT)
I can't get it to wrap this properly using typemaps, but I know what the code should be, so can I tell swig to use my function? I tried calling my code in the directorin typemap but it doesn't use the code in the typemap when I do this. Swig in fact seems to be very picky about what is in the typemaps. This would be fine if I could actually get it to work right in this case. But I can't and I know of no other options at this point.
Get latest updates about Open Source Projects, Conferences and News.