Searched refs:luaL_callmeta (Results 1 – 3 of 3) sorted by relevance
44 LUALIB_API int (luaL_callmeta) (lua_State *L, int obj, const char *e); variable
788 LUALIB_API int luaL_callmeta (lua_State *L, int obj, const char *event) { in luaL_callmeta() function811 if (luaL_callmeta(L, idx, "__tostring")) { /* metafield? */ in luaL_tolstring()
182 if (luaL_callmeta(L, 1, "__tostring") && /* does it have a metamethod */ in msghandler()