Files
integration/luprex/syscpp/source.hpp

27 lines
655 B
C++

// 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"
#include <string>
// 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);
#endif // SOURCE_HPP