The idea is: you call DT::LS from _DateTime_

Makefile.PL, and it generates C source code


that compiles with DT XS - it makes a C 


include file - it is not a DT::LS XS library.




Dave Rolsky wrote:


>


> On Sun, 13 Jul 2003 [EMAIL PROTECTED] wrote:


> 


> > It would be easy to change the Perl code 
generator into a C code


> > generator. Then you could use DT::LeapSecond at 
compile time, if they


> > are using XS, or at runtime, if they are using 
pure Perl.


> 


> But the point is to avoid having to cross the 
Perl->C barrier.  If DT::LS


> were still a separate module, then calls from the 
DateTime XS to the


> DT::LS XS barrier would probably have to go 
C->Perl->C, which would be


> bad.




Reply via email to