lua-users home
lua-l archive

nulling a userdata

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


Is there a way from C that I can Null out a boxed pointer that has a
reference to it as a userdata so that when I do lua_touserdata(L, -1)
I will gett NULL? Or is this horrible design?
thanks,
wes

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