lua-users home
lua-l archive

Simulate an 'user data' field

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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/ 
 

AltStyle によって変換されたページ (->オリジナル) /