diff options
Diffstat (limited to 'platform/javascript/api/javascript_singleton.h')
-rw-r--r-- | platform/javascript/api/javascript_singleton.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/javascript/api/javascript_singleton.h b/platform/javascript/api/javascript_singleton.h index 45e9950acb..1615efa87e 100644 --- a/platform/javascript/api/javascript_singleton.h +++ b/platform/javascript/api/javascript_singleton.h @@ -58,6 +58,7 @@ public: Ref<JavaScriptObject> get_interface(const String &p_interface); Ref<JavaScriptObject> create_callback(const Callable &p_callable); Variant _create_object_bind(const Variant **p_args, int p_argcount, Callable::CallError &r_error); + void download_buffer(Vector<uint8_t> p_arr, const String &p_name, const String &p_mime = "application/octet-stream"); static JavaScript *get_singleton(); JavaScript(); |