|
Re: Preventing a user to refer to non-existent struct members: msg#00110programming.swig
Thanks for your reply. From: mmatus@xxxxxxxxxxxxxxxxxxxxxx extensible? You mean in python, I imagine. I don't know how to do this generically, and in fact my solution is currently crashing python (as in, dumping me into gdb). I'll get back to you. The problem with using %pythoncode is that the __slots__ variable has to be set within the class definition. It's possible that there's some other simple solution, messing with __setattr --- but my simple solution there also crashed python. Swig must be being "Clever". R _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Minor Bug in Java directors, and a patch: 00110, Scott Michel |
|---|---|
| Next by Date: | Errors building swig rpm: 00110, Balaji Balaraman |
| Previous by Thread: | Re: Preventing a user to refer to non-existent struct membersi: 00110, Marcelo Matus |
| Next by Thread: | Re: Preventing a user to refer to non-existent struct members: 00110, Josh Cherry |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |