Re: Wrapping C/C++ libraries

2003-10-28 Thread Anuradha Ratnaweera
On Tue, 2003-10-28 at 14:10, Leopold Toetsch wrote: Anuradha Ratnaweera [EMAIL PROTECTED] wrote: Just another quick, and possibly dumb, question: Is XS the standard way of binding Perl to a C/C++ library? If your question is ... of binding Parrot to a C/C++ library?, then no. Parrot

Wrapping C/C++ libraries

2003-10-27 Thread Anuradha Ratnaweera
I am not sure if this is the correct place to ask this, so please point me to correct direction if it is not. As far as I know, there is no native way of calling C/C++ libraries from within Perl 5. When C/C++ API involves structures, the corresponding Perl binding uses hashes, and an

Re: Wrapping C/C++ libraries

2003-10-27 Thread Anuradha Ratnaweera
On Tue, 2003-10-28 at 11:24, Anuradha Ratnaweera wrote: As far as I know, there is no native way of calling C/C++ libraries from within Perl 5. When C/C++ API involves structures, the corresponding Perl binding uses hashes, and an intermediate step converts the hash to a structure, and call