Have a look at the Cookbook
Basically you pass and return the variable much like you would call any other function
use Inline C; $var = "something"; somefunc($var); __END__ __C__ somefunc(char* str){ . . return something; }
In reply to Re: Arrays and Inline C
by spivey49
in thread Arrays and Inline C
by BobQQ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |