develooper Front page | perl.perl5.porters | Postings from October 2001

Re: [PATCH h2xs] Use of static data in XS modules

Thread Previous
From:
Nicholas Clark
Date:
October 30, 2001 09:27
Subject:
Re: [PATCH h2xs] Use of static data in XS modules
Message ID:
20011030172656.I7259@plum.flirble.org
On Tue, Oct 30, 2001 at 07:18:46PM +0200, Jarkko Hietaniemi wrote:
> It seems that quite a few modules have various portability stuff
> in them: Storable, List::Util, and I guess DBI too.  Time to
> collect all that into one place?

ExtUtils::Constant has:

  push @lines, << 'EOT';


#ifndef NVTYPE
typedef double NV; /* 5.6 and later define NVTYPE, and typedef NV to it.  */
#endif
#ifndef aTHX_
#define aTHX_ /* 5.6 or later define this for threading support.  */
#endif
#ifndef pTHX_
#define pTHX_ /* 5.6 or later define this for threading support.  */
#endif
EOT


so that's another.

Nicholas Clark

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About