lua-users home
lua-l archive

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

Mark Hamburg wrote:

There probably ought to be a luaL_toudata as well that returns NULL.

agree. Because having only current luaL_checkudata no one can implement `overloading'. Of cause `typecheck' is easy, and one can simply cut-and-paste it from luaL_checkudata, but IMHO it should be in the stock API.

 Antero Vipunen.