Re: Returning a value from a C function
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Returning a value from a C function
- From: Alex Sandro Queiroz e Silva <ventonegro@...>
- Date: 2003年7月21日 10:22:08 -0300
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