2020-11-15 16:49:42 -05:00
|
|
|
// 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.
|
|
|
|
|
//
|
|
|
|
|
|
2020-11-13 18:17:47 -05:00
|
|
|
#ifndef LPX_CLASSDB_HPP
|
|
|
|
|
#define LPX_CLASSDB_HPP
|
|
|
|
|
|
2020-11-15 16:49:42 -05:00
|
|
|
#include "lpx-stack-manager.hpp"
|
2020-11-13 18:17:47 -05:00
|
|
|
|
|
|
|
|
int lpx_classdb_get(lua_State *L);
|
|
|
|
|
int lpx_classdb_reset(lua_State *L);
|
|
|
|
|
int lpx_classdb_accessor(lua_State *L);
|
2020-11-15 16:49:42 -05:00
|
|
|
int lpx_classdb_create(lua_State *L);
|
|
|
|
|
|
|
|
|
|
void luaopen_lpx_classdb(lua_State *L);
|
2020-11-13 18:17:47 -05:00
|
|
|
|
|
|
|
|
#endif // LPX_CLASSDB_HPP
|
|
|
|
|
|
|
|
|
|
|