in reply to Re: simple XS
in thread simple XS
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: simple XS
by chromatic (Archbishop) on Mar 01, 2010 at 18:14 UTC |