|
Simple .i files.: msg#00118programming.swig
Hello- I have a very simple .i file for a Python wrapper to a C++ library. Something like this: ------------------- %{ #include "myAPI.h" %} #include "myAPI.h" ------------------- I'd like to add a single command: %cstring_bounded_output(char *id, 32); void MyClass::MyMethod(char *id); for a single "out-of-the-ordinary" thing, I don't want to replicate the entire .h file. Can I do this sort of thing? It compiles fine but I want to make sure this is the right thing to do. Jake _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | "inheritance" order in Perl proxies: 00118, Josh Cherry |
|---|---|
| Next by Date: | Typedefs of template instantiations not recognized properly?: 00118, Zachary Pincus |
| Previous by Thread: | "inheritance" order in Perl proxiesi: 00118, Josh Cherry |
| Next by Thread: | Typedefs of template instantiations not recognized properly?: 00118, Zachary Pincus |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |