This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Avoid loading .bs files twice when using XSLoader
[perl5.git] / ext / XS-APItest / typemap
1 XS::APItest::PtrTable           T_PTROBJ
2
3 const WCHAR *                   WPV
4
5 INPUT
6
7 WPV
8         $var = ($type)SvPV_nolen($arg);
9
10 OUTPUT
11
12 WPV
13         sv_setpvn($arg, (const char *)($var), sizeof(WCHAR) * (1+wcslen($var)));