Change the way the lua engine initialization functions are called
This commit is contained in:
@@ -127,6 +127,7 @@
|
||||
class SourceDB : public eng::nevernew {
|
||||
private:
|
||||
lua_State *lua_state_;
|
||||
static void register_lua_builtins();
|
||||
|
||||
public:
|
||||
void init(lua_State *L);
|
||||
@@ -188,10 +189,6 @@ public:
|
||||
void set(const eng::string &fn, const eng::string &code, int sequence);
|
||||
eng::string get(const eng::string &fn);
|
||||
|
||||
// Add builtins to the global function registry.
|
||||
//
|
||||
static void register_lua_builtins();
|
||||
|
||||
// Get function documentation.
|
||||
//
|
||||
// Returns false if it has no documentation for the specified function.
|
||||
|
||||
Reference in New Issue
Block a user