lua-users home
lua-l archive

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

Markus Fritsche wrote:

Additionally: it's not uncommon for the functions of my wrapped library
to return NULL in case of a failure - is there something in toLua to
support tests for being NULL?
Something like "handle = WrappedConnectServer(server)" will always
return userdata with toLua.

Do I have to to the check with own, non-generated code?

Regards, Markus