lua-users home
lua-l archive

Re: Macro expansion of lua_newuserdata()?

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


> Ah, it ought to have been obvious, thanks!
It is explained in the manual:
 Full userdata now has an arbitrary number of associated user values.
 [...]
 For compatibility, the old names still work as macros assuming one
 single user value. Note, however, that userdata with zero user values
 are more efficient memory-wise.
-- Roberto

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