summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/ext/XS-APItest/typemap
blob: f4c401eba2c3e88346994056023fcf0b03d53811 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
XS::APItest::PtrTable		T_PTROBJ

const WCHAR *			WPV
U8 *		                T_PV

INPUT

WPV
        $var = ($type)SvPV_nolen($arg);

OUTPUT

WPV
        sv_setpvn($arg, (const char *)($var), sizeof(WCHAR) * (1+wcslen($var)));