Searched refs:lua_state (Results 1 – 1 of 1) sorted by relevance
221 lua_State* lua_state; member231 lua_state(lua_), in impl()270 if (_pimpl->owned && _pimpl->lua_state != NULL) in ~state()286 assert(_pimpl->lua_state != NULL); in close()287 assert(lua_gettop(_pimpl->lua_state) == 0); in close()288 lua_close(_pimpl->lua_state); in close()289 _pimpl->lua_state = NULL; in close()304 lua_pushcfunction(_pimpl->lua_state, protected_getglobal); in get_global()305 lua_pushstring(_pimpl->lua_state, name.c_str()); in get_global()306 if (lua_pcall(_pimpl->lua_state, 1, 1, 0) != 0) in get_global()[all …]