|
SWIG/non-SWIG python modules: msg#00098programming.swig
I'm using several python modules. One is my own library wrapped with SWIG. The other is a python extension moduled wrapped by other means. (pyGTK ), and I need to pass a python object from the one extension module into my own SWIG module. (specifically, I'm trying to pass a GtkWidget * into my SWIG wrapped library. ) SWIG doesn't know about the types in the other module, so it's always expecting a _p_GtkWidget, rather than what it actually is. I tried writing a typemap to convert it using PCObject_AsVoidPtr, but it didn't work. Is there a way to do this? Should I try manually decoded it from the string representation? Thanks, Jon _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | python "named arguments" swig: 00098, David Beazley |
|---|---|
| Next by Date: | visual studio makefiles: 00098, list67 |
| Previous by Thread: | Vector extensionsi: 00098, Kostyantyn Teplynskyy |
| Next by Thread: | visual studio makefiles: 00098, list67 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |