2
0

perlxsi.c 353 B

123456789101112131415161718
  1. #include "EXTERN.h"
  2. #include "perl.h"
  3. #include "XSUB.h"
  4. EXTERN_C void xs_init (pTHX);
  5. EXTERN_C void boot_DynaLoader (pTHX_ CV* cv);
  6. EXTERN_C void
  7. xs_init(pTHX)
  8. {
  9. static const char file[] = __FILE__;
  10. dXSUB_SYS;
  11. PERL_UNUSED_CONTEXT;
  12. /* DynaLoader is a special case */
  13. newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
  14. }