Hi,
In an Inline C script I'm trying to pass a wide character string from perl.
The perl side would look like (eg):
$s = chr(12345) . chr(54321); pass_wide_string($s);
and the Inline C function:
void pass_wide_string(SV * w) { wchar_t * widestring = SvPV_nolen(w); . .
Is that a correct way for pass_wide_string() to grab the argument ? I get a compiler warning that the line in question performs an "initialization from incompatible pointer type".
Cheers, Rob