|
dependant modules: msg#00142programming.swig
Hi, I'm attempting to create 2 python swig modules, with one module using objects found in the other. I have a module named 'otk' which contains Rect objects. Classes in my 'ob' module return Rect objects. Here's an example that does work (client is an object in the 'ob' module, and screen is in the 'otk' module): print _otk.Rect_x(client.area()) print screen.area().x() But the following example does not work (it would if client was in otk as well): print client.area().x() I'm trying to make this work by %import'ing the .i for the otk module, but it doesn't work. The code in the wrap.cc's seems identical, they have the same type names etc, and in both modules they return the same thing as far as I can tell. Is there any way I can make this work? Thanks, Natas -- I am damn unsatisfied to be killed in this way. http://www.icculus.org/openbox/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Returning values from pointer args with SWIG + TCL: 00142, David Beazley |
|---|---|
| Next by Date: | dependant modules: 00142, David Beazley |
| Previous by Thread: | What happened to typemap(perl5,perl5in) ??i: 00142, Andreas Kahler |
| Next by Thread: | dependant modules: 00142, David Beazley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |