void luaL_checkid(lua_State *L, int numArg, lua_ID *id);
luaL_checkid()
checks
if there is a Hollywood object identifier at the given stack index. If there is,
it will be written to the lua_ID
that has been passed to this function. Otherwise,
luaL_checkid()
will jump directly into Hollywood's error handler.
A Hollywood object identifier can either be a numerical value or a value of
the LUA_TLIGHTUSERDATA
type. See Object identifiers for details.
lua_State
lua_ID
to receive the object identifier