can u plz hepl me for the following problem:
i want to pass address of scalar variable from perl script to C
function (with SWIG interface )
how it can be done , i came to know that solution for this is typemaps,
but i dont knoe how to use it.
module::fun(\$x); // calling like this from perl
fun(void *p) // this is my c function
printf(" val from perlis : %d",*p);