#include "send_string.h"
#include "stdio.h"
void send_string (const wchar_t * str) {
printf ("string\n");
}
####
void send_string (const wchar_t * str);
####
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "ppport.h"
#include "send_string.h"
MODULE = Kbh PACKAGE = Kbh
PROTOTYPES: DISABLE
void
send_string(s)
const wchar_t * s
TYPEMAP: <##
use ExtUtils::MakeMaker;
WriteMakefile (
NAME => 'Kbh',
VERSION_FROM => 'lib/Kbh.pm',
OBJECT => 'Kbh.o send_string.o',
)
####
package Kbh;
our $VERSION = '0.01';
require XSLoader;
XSLoader::load('Kbh', $VERSION);
1;