The typemap handles it.
#!/usr/bin/perl use Inline C => <<'EOC'; void show(int index) { PerlIO_printf(PerlIO_stdout(), "%d\n", index); } EOC show(123456);
123456
In reply to Re^2: simple XS
by ikegami
in thread simple XS
by spx2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |