Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
I have a C function signature as follows:
extern void MyFunc(long* myVal);
I successfully build a perl module with SWIG but when i try use it as
$myVal = 1;
$p_myVal = \$myVal;
it give me error "Type error in arugment 1 of MyFunc. Expected _p_long"
Can somebody guide me how to pass pointers from perl?