Re: typemaps for vector... and other STL containers

2002-10-24 Thread Shinya Hayakawa
Hi, The xsubpp compiler doesn't support C++'s template facilities. We need to define typemaps for each template instance as follows: typedef vectorint IntVector; typedef vectorstring StringVector; IntVector T_INT_VETOR StringVectorT_STR_VECTOR With a little work I

Re: typemaps for vector... and other STL containers

2002-10-23 Thread Nick Ing-Simmons
Shinya Hayakawa [EMAIL PROTECTED] writes: Hi Ian, On Mon, 21 Oct 2002 19:57:34 + [EMAIL PROTECTED] wrote: I'm trying to write some interface routines to the Numerical Recipes library and want to be able to pass Perl arrays (or references) to C++ vector... objects, and vice versa. The

Re: typemaps for vector... and other STL containers

2002-10-22 Thread Shinya Hayakawa
Hi Ian, On Mon, 21 Oct 2002 19:57:34 + [EMAIL PROTECTED] wrote: I'm trying to write some interface routines to the Numerical Recipes library and want to be able to pass Perl arrays (or references) to C++ vector... objects, and vice versa. The xsubpp compiler doesn't support C++'s