lua-users home
lua-l archive

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

> 在 2018年4月18日,上午2:04,Viacheslav Usov <> 写道:
> input will result in THAT kind of UB; for example, I expected a Lua error to be raised by lua_next() when given a non-table input (why? perhaps because it had the 'e" error category?). So even though it feels like stating the obvious, it helps.

You can turn on LUA_USE_APICHECK to do more checks on the C API .