[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Getting the address of Lua variables in C
- From: Jose Marin <jose_marin2@...>
- Date: Fri, 7 May 2004 11:48:36 -0300 (ART)
It's possible to get the address of Lua variable to be
used in C?
I would like to do this in C:
p_time = (int*)LuaGetVarAddress("time");
and, for every game frame:
*p_time = GetTime();
I don't wanna get the reference to "time" on every
Maybe LuaGetVarAddress returns a void*.
It's that possible?
Yahoo! Messenger - Fale com seus amigos online. Instale agora!