[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Simulate an 'user data' field
- From: Jose Marin <jose_marin2@...>
- Date: Mon, 3 Jul 2006 17:24:55 +0000 (GMT)
Hello.
It's possible to simulate a 'user data' on a Lua
table?
This user data could be a 'void*' or an 'int', and
would be get/set via C functions.
This is not as the function 'lua_pushlightuserdata',
but an way of get/set (very fast) a value on the
table.
Each table would have only one of this field.
_______________________________________________________
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!
http://br.mobile.yahoo.com/mailalertas/