waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

Mytest.xs (183B)


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