|
RE: SWIG-PERL-Vector of pointers: msg#00123programming.swig
Types generated by const and non const vectors are different %template (Byte_vector) std::vector<unsigned char>; int ABC( std::vector<unsigned char>& pvReadArray, const std::vector<unsigned char>& pvWriteArray); code generated for checking the type for pvReadArray is different that that of prWriteArray. I have the following prel code which fails to run because of the type error for pvWriteArray my $readVector; my $writeVector; my $result = XYZ::ABC( $readVector, $writeVector ); Any idea why the type checking is different? Thanks, -sanjay -----Original Message----- From: Luigi Ballabio [mailto:luigi.ballabio@xxxxxxxxxxxxx] Sent: Tuesday, November 18, 2003 8:56 AM To: Nair, Sanjay S Cc: luigi.ballabio@xxxxxxxxxxxxx; swig@xxxxxxxxxxxxxxx Subject: Re: [Swig] SWIG-PERL-Vector of pointers On 2003.11.18 17:30, "Nair, Sanjay S" wrote: > Do you have any perl example that uses Vector of pointers? I don't use Perl myself. Maybe among the examples in the distribution, but I'm not that sure... Cheers, 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[2]: carrays: getitem to return a reference: 00123, Kerim Borchaev |
|---|---|
| Next by Date: | unsatisfied link error on linux : java module: 00123, archana perumal |
| Previous by Thread: | Re: SWIG-PERL-Vector of pointersi: 00123, Luigi Ballabio |
| Next by Thread: | Re: SWIG-PERL-Vector of pointers: 00123, Luigi Ballabio |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |