Lots of work on LuaStack

This commit is contained in:
2020-11-27 13:21:07 -05:00
parent f690fb147b
commit 455ba5df87
19 changed files with 715 additions and 527 deletions

21
luprex/syscpp/source.hpp Normal file
View File

@@ -0,0 +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 SOURCE_HPP
#define SOURCE_HPP
#include "luastack.hpp"
int lpx_source_update(lua_State *L);
int lpx_source_class(lua_State *L);
int lpx_source_resetclasses(lua_State *L);
void luaopen_lpx_source(lua_State *L);
#endif // SOURCE_HPP