|
Hallo, Roger D. Vargas wrote:
How can i make a C function called from a lua script to return a value? Something like: x= get_x() (get_x is defined and registered in C)
The C function must push the return values on the stack and it must itself return the number of values.
-Alex