> -----Original Message----- > From: Sisyphus [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 29, 2005 10:46 PM > To: Miyamoto Musashi > Cc: inline@perl.org > Subject: Re: C library functions... > > You have to do it yourself - Inline C won't do the conversion for you. > > You'll often get away with ignoring some of the perclib > recommendations > - eg take a look at the number of XS files on cpan that use 'malloc' > instead of 'New'. You would be wise to follow those perlclib > recommendations - but you won't *necessarliy* be bitten if > you decide to > ignore them.
I second this finding. The perl-friendly versions of things like New() generally work better with more compilers on more platforms, but if you're on a common platform like Unix/Linux and using GCC or something common, you probably won't need to convert. -Ken