'Alter variable pointed by C pointer in Lua
I'd like to have something like this:
int foo(int a, double *b);
In the C implementation, I'd like to alter the variable b points to, which is a variable in my Lua code.
I couldn't figure out how to achieve this in my Lua code.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
