[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: passing pointers to lua scripts
- From: Jean Claude Morlier <morlier@...>
- Date: Tue, 06 May 2003 14:15:23 +0200
Hi,
Take a look to user_data
Jean-Claude Morlier
Quetzal Developpement
Roger D. Vargas wrote:
I need to pass a pointer to a class to a lua script, and get it back from a C
function called from that script that access methods in that class. As lua
manages numbers as float sometimes, I was thinking if this would corrupt the
value of the pointer. Is possible to do this? There is some more adequate way
to do it?