This commit is contained in:
2020-11-15 16:49:42 -05:00
parent a784f12aed
commit f690fb147b
12 changed files with 431 additions and 168 deletions

View File

@@ -1,12 +1,21 @@
// ClassDB - code to manipulate class databases.
//
// It would have been easier to write this in Lua, but since every
// lua module in the system depends on it, it's safer to have it
// preloaded before we even open any of the lua files.
//
#ifndef LPX_CLASSDB_HPP
#define LPX_CLASSDB_HPP
#include "lua-headers.hpp"
#include "lpx-stack-manager.hpp"
int lpx_classdb_get(lua_State *L);
int lpx_classdb_reset(lua_State *L);
int lpx_classdb_accessor(lua_State *L);
int luaopen_lpx_classdb(lua_State *L);
int lpx_classdb_create(lua_State *L);
void luaopen_lpx_classdb(lua_State *L);
#endif // LPX_CLASSDB_HPP