|
Re: SWIG-PERL-Vector of pointers: msg#00092programming.swig
On 2003.11.15 01:55, "Nair, Sanjay S" wrote: Hi, Don't do this. specialize_std_vector is a macro which is only used for built-in types and it's an implementation detail. You shouldn't even know it exists---because if you did, you could instantiate it with the wrong number of arguments, as above, and you could get all kinds of weird syntax errors :) The rest of the file looks ok to me. Let me know if the problem persists. Also, there was a bug in SWIG 1.3.19 which could give you problems if a vector was returned from a function by copy. That will be fixed in SWIG 1.3.20, soon in a website near you. Hope this helps, Luigi _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Python 2.3.2 incompatiblility?: 00092, David Beazley |
|---|---|
| Next by Date: | Talking Perl to Java and Back: 00092, Jay Strauss |
| Previous by Thread: | SWIG-PERL-Vector of pointersi: 00092, Nair, Sanjay S |
| Next by Thread: | RE: SWIG-PERL-Vector of pointers: 00092, Nair, Sanjay S |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |