2
0

perlxsi.c 284 B

12345678910111213141516
  1. #include <EXTERN.h>
  2. #include <perl.h>
  3. EXTERN_C void xs_init (pTHX);
  4. EXTERN_C void boot_DynaLoader (pTHX_ CV* cv);
  5. EXTERN_C void
  6. xs_init(pTHX)
  7. {
  8. char *file = __FILE__;
  9. dXSUB_SYS;
  10. /* DynaLoader is a special case */
  11. newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
  12. }