Less serialization and deserialization of Lua Source, also, Invocation is now simpler
This commit is contained in:
@@ -102,7 +102,7 @@ struct EngineWrapper {
|
||||
// Check the 'rescan_lua_source' flag. If this flag is set, it means
|
||||
// that the engine wants the driver to rescan the lua source code.
|
||||
// When the driver sees this flag, it should rescan the source and call
|
||||
// set_lua_source.
|
||||
// set_lua_source_pack.
|
||||
//
|
||||
bool (*get_rescan_lua_source)(EngineWrapper *w);
|
||||
|
||||
@@ -199,7 +199,7 @@ struct EngineWrapper {
|
||||
|
||||
// Store the lua source code.
|
||||
//
|
||||
void (*play_set_lua_source)(EngineWrapper *w, uint32_t srcpklen, const char *srcpk);
|
||||
void (*play_set_lua_source_pack)(EngineWrapper *w, uint32_t srcpklen, const char *srcpk);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user