31 #ifndef SWORD25_LUASCRIPT_H 32 #define SWORD25_LUASCRIPT_H 34 #include "common/str.h" 35 #include "common/str-array.h" 36 #include "sword25/kernel/common.h" 37 #include "sword25/script/script.h" 97 int _pcallErrorhandlerRegistryIndex;
99 bool registerStandardLibs();
100 bool registerStandardLibExtensions();
101 bool executeBuffer(
const byte *data, uint size,
const Common::String &name)
const;
bool executeString(const Common::String &code) override
void setCommandLine(const Common::StringArray &commandLineParameters) override
void * getScriptObject() override
Definition: luascript.h:74
bool executeFile(const Common::String &fileName) override
Definition: luascript.h:45
bool persist(OutputPersistenceBlock &writer) override
bool unpersist(InputPersistenceBlock &reader) override
Definition: outputpersistenceblock.h:39