Fixes issue with getting builder from AngelScriptResolver
This commit is contained in:
parent
91a87af6b5
commit
cf01511cfb
|
@ -60,7 +60,7 @@ public:
|
||||||
void CreateScript(const char* name, const char* script);
|
void CreateScript(const char* name, const char* script);
|
||||||
inline void SetSourceDirectory(std::string const& path) noexcept { _sourceDirectory = path; }
|
inline void SetSourceDirectory(std::string const& path) noexcept { _sourceDirectory = path; }
|
||||||
const asIScriptModule* GetMainModule() const noexcept { return _mainModule; }
|
const asIScriptModule* GetMainModule() const noexcept { return _mainModule; }
|
||||||
CScriptBuilder& GetBuilder() const noexcept { return _builder; }
|
CScriptBuilder& GetBuilder() noexcept { return _builder; }
|
||||||
void FinalizeModule();
|
void FinalizeModule();
|
||||||
|
|
||||||
void DefineWord(const std::string& word) { _builder.DefineWord(word.c_str()); }
|
void DefineWord(const std::string& word) { _builder.DefineWord(word.c_str()); }
|
||||||
|
|
Loading…
Reference in New Issue