Changed calling conventions again

This commit is contained in:
2020-12-05 18:57:53 -05:00
parent 150a71433b
commit c751678179
14 changed files with 403 additions and 219 deletions

View File

@@ -9,12 +9,17 @@
#define SOURCE_HPP
#include "luastack.hpp"
#include <string>
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);
// 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