Mytest.xs 183 B

1234567891011121314
  1. /* Shamelessy stolen from perlxstut */
  2. #include <EXTERN.h>
  3. #include <perl.h>
  4. #include <XSUB.h>
  5. MODULE = Mytest PACKAGE = Mytest
  6. void
  7. hello()
  8. CODE:
  9. printf("Hello, world\n");