Refactor for DLL
This commit is contained in:
@@ -1033,3 +1033,12 @@ void World::rollback() {
|
||||
assert(snapshot_.empty());
|
||||
}
|
||||
|
||||
// This is the main routine for the DLL. We have to use a registration device
|
||||
// to register this main routine with DrivenEngine. DrivenEngine will then call
|
||||
// it exactly once the first time that the driver initializes an EngineWrapper.
|
||||
//
|
||||
void engine_initialization() {
|
||||
SourceDB::register_lua_builtins();
|
||||
}
|
||||
|
||||
static DrivenEngineInitializerReg eireg(engine_initialization);
|
||||
|
||||
Reference in New Issue
Block a user