mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Replace ScriptException::Raise in Engine functions
Now exceptions can be thrown. The function throwing exceptions becomes cleaner and doesn't require a `ScriptRequest` anymore.
This commit is contained in:
@@ -32,6 +32,8 @@
|
||||
#include <js/Value.h>
|
||||
#include <string>
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
namespace JSI_GUIManager
|
||||
{
|
||||
// Note that the initData argument may only contain clonable data.
|
||||
|
||||
Reference in New Issue
Block a user