mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-10 20:46:47 +03:00
Document errorMode. Make it an enum on the Lua side rather than a string.
This commit is contained in:
parent
85b26b4238
commit
e5d12a56f2
5 changed files with 38 additions and 23 deletions
|
@ -13,4 +13,4 @@ void ScriptWarn(std::string const& msg);
|
|||
|
||||
bool ScriptAssert(bool cond, std::string const& msg, std::optional<ERROR_MODE> forceMode = std::nullopt);
|
||||
|
||||
void SetErrorMode(std::string const& mode);
|
||||
void SetErrorMode(ERROR_MODE mode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue