luaif.h
musicmud-2.1.6/src/extras/luaif.h · 540 B
From the archive musicmud2.1.6.tar.gz
Download the archive « Back to the archive contents
// PROVIDED BY LUATRAP extern int LUA_TRACE; extern MudObject *sec_pl; extern int objecttag; bool l_isobject(lua_State *L, int idx); bool l_isnilobject(lua_State *L, int idx); MudObject *l_getobject(lua_State *L, int idx); bool writeaccess(MudObject *what); void l_pushworld(lua_State *l, World<MudObject> *world); void l_pushobject(lua_State *l, MudObject *o); // PROVIDED BY AUTOHOOK void autodefine(lua_State *L); bool lua_tracing(); string esc(World <MudObject> *blah); string esc(MudObject *blah); string esc(const char *blah);