Cheers,use warnings; use Inline C => Config => BUILD_NOISY => 1; use Inline C => <<'EOC'; void foo(int a) {} void bar(SV * a) {} void baz(SV * a) { int i = (int)SvIV(a); } EOC $u = undef; foo($u); # warning bar($u); # no warning baz($u); # warning
In reply to Re^5: Passing undef to XSUB
by syphilis
in thread Passing undef to XSUB
by pileofrogs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |