Re: Wrapping C/C++ libraries

2003-10-28 Thread Anuradha Ratnaweera
On Tue, 2003-10-28 at 19:26, Dan Sugalski wrote: > On Tue, 28 Oct 2003, Anuradha Ratnaweera wrote: > > > 2. If the ansewr to 0 or 1 is "no", will there be another standard in > > Perl 6? > > Yes. Whatever we do for Parrot. Thigs are getting clearer and mor

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 bindin

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 > convert

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 intermedi