lua-users home
lua-l archive

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

> However if I replace the lua_call second parameter with 0, I get
> another API check failure, but in that case during the interpreter
> teardown (ie. after the Lua script finished):
> Lua API check failed: (p) != luaO_nilobject, file lua-5.1.4\src\lapi.c, line 184

Line 184 is this:

  api_checkvalidindex(L, p);

It means that lua_remove is being called with an invalid index (that is,
an index out of bounds for the current stack).

-- Roberto