Files
integration/luprex/syscpp/source.hpp

27 lines
655 B
C++
Raw Normal View History

2020-11-27 13:21:07 -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.
//
#ifndef SOURCE_HPP
#define SOURCE_HPP
#include "luastack.hpp"
2020-12-05 18:57:53 -05:00
#include <string>
2020-11-27 13:21:07 -05:00
2020-12-05 18:57:53 -05:00
// Get a class from the class database.
int source_class(lua_State *L);
// Update the source database from disk. No parameters, no return values.
int source_update(lua_State *L);
// Rebuild the class database from the source database. No parameters, no return values.
int source_rebuild(lua_State *L);
2020-11-27 13:21:07 -05:00
#endif // SOURCE_HPP