|
Are you using the "pointer" type in both the callback's and the C function's signatures?
Yes, Fabio. You seem to imply that it should work; perhaps I have overlooked something.
In my callback function, should type(my_pointer_arg) == 'userdata'?Currently, it is 'number'. I'm certain that it should be receiving a pointer.
Thanks, Phoenix Sol