Help for this page

Select Code to Download


  1. or download this
    #include "send_string.h"
    #include "stdio.h"
     void send_string (const wchar_t * str) {
     printf ("string\n"); 
    }
    
  2. or download this
     void send_string (const wchar_t * str);
    
  3. or download this
    #include "EXTERN.h"
    #include "perl.h"
    ...
    TYPEMAP: <<HERE
    const wchar_t * T_PV
    HERE
    
  4. or download this
    use ExtUtils::MakeMaker;
    WriteMakefile (
    ...
        VERSION_FROM => 'lib/Kbh.pm',
        OBJECT => 'Kbh.o send_string.o',
    )
    
  5. or download this
    package Kbh;
    our $VERSION = '0.01';
    require XSLoader;
    XSLoader::load('Kbh', $VERSION);
    1;