#include <core.hpp>
Public Member Functions | |
lua_ai_load (lua_ai_context &ctx, bool read_only) | |
~lua_ai_load () | |
Public Attributes | |
bool | was_readonly |
Private Attributes | |
lua_State * | L |
Static Private Attributes | |
static int | refcount = 0 |
ai::lua_ai_load::lua_ai_load | ( | lua_ai_context & | ctx, |
bool | read_only | ||
) |
Definition at line 1049 of file core.cpp.
References aisKey, lua_getfield(), lua_getglobal(), lua_isnoneornil, lua_pop, lua_pushboolean(), lua_pushlightuserdata(), lua_pushstring(), lua_rawget(), lua_rawgeti(), lua_rawset(), LUA_REGISTRYINDEX, lua_remove(), lua_setglobal(), luaW_toboolean(), ai::lua_ai_context::num_, refcount, and was_readonly.
ai::lua_ai_load::~lua_ai_load | ( | ) |
Definition at line 1079 of file core.cpp.
References lua_getglobal(), lua_pop, lua_pushboolean(), lua_pushnil(), lua_pushstring(), lua_rawset(), lua_setglobal(), refcount, and was_readonly.
|
staticprivate |
Definition at line 61 of file core.hpp.
Referenced by lua_ai_load(), and ~lua_ai_load().
bool ai::lua_ai_load::was_readonly |
Definition at line 63 of file core.hpp.
Referenced by lua_ai_load(), and ~lua_ai_load().