[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Interfacing XS/C++ code with MacPerl



In article <mac-perl.928839@sneezy.Dartmouth.ORG>,
Sixten.F.K.Otto.98@alum.dartmouth.org (Sixten F. K. Otto 98) wrote:

>I have looked over all the MacPerl pages I could find, have scanned the Perl
>man pages, and read the chapter from MP:P&E on building MacPerl and extensions
>(which example was awfully simplistic). I've also scanned some of the less
>platform-independent information. But I still cannot find much in the way of
>lucid and introductory-level information about how to go about the process of
>interfacing MacPerl and any C/C++ code that I might write.

I would be interested in pointers in this regard as well. There is a
section in Advanced Perl Programming on SWIG and XS (mostly SWIG, I
think), so you might want to take a look at this.

>For that matter, is it even possible for C/C++ code to maintain its own data
>structures (create and destroy dynamic memory constructs outside of the Perl
>environment)?

Yep, I'm fairly sure that it is.
-- 
__________________________________________________________________________

Jeff Clites                Online Editor           http://www.MacTech.com/
online@MacTech.com         MacTech Magazine
__________________________________________________________________________

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch