diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-15 00:01:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-15 00:01:54 +0200 |
commit | 88e671e0b70293f30cf983e48837ebc85e2d5afc (patch) | |
tree | e78987fee0e034a0710ea37f25ac6fa8d78bdfdd /platform/javascript/js/libs/library_godot_fetch.js | |
parent | 16027e7cf412140c128e7c002ce0be533b94db00 (diff) | |
parent | 049b5159f13d409ce48e6dd8abccf84ae1d311b3 (diff) |
Merge pull request #49592 from Faless/js/4.x_fix_sigs
[HTML5] Fix build without eval, library functions signatures.
Diffstat (limited to 'platform/javascript/js/libs/library_godot_fetch.js')
-rw-r--r-- | platform/javascript/js/libs/library_godot_fetch.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/javascript/js/libs/library_godot_fetch.js b/platform/javascript/js/libs/library_godot_fetch.js index 04b90aea9c..615f9de8b0 100644 --- a/platform/javascript/js/libs/library_godot_fetch.js +++ b/platform/javascript/js/libs/library_godot_fetch.js @@ -126,7 +126,7 @@ const GodotFetch = { }, }, - godot_js_fetch_create__sig: 'iii', + godot_js_fetch_create__sig: 'iiiiiii', godot_js_fetch_create: function (p_method, p_url, p_headers, p_headers_size, p_body, p_body_size) { const method = GodotRuntime.parseString(p_method); const url = GodotRuntime.parseString(p_url); @@ -176,7 +176,7 @@ const GodotFetch = { return obj.status; }, - godot_js_fetch_read_headers__sig: 'iii', + godot_js_fetch_read_headers__sig: 'iiii', godot_js_fetch_read_headers: function (p_id, p_parse_cb, p_ref) { const obj = IDHandler.get(p_id); if (!obj || !obj.response) { @@ -193,7 +193,7 @@ const GodotFetch = { return 0; }, - godot_js_fetch_read_chunk__sig: 'ii', + godot_js_fetch_read_chunk__sig: 'iiii', godot_js_fetch_read_chunk: function (p_id, p_buf, p_buf_size) { const obj = IDHandler.get(p_id); if (!obj || !obj.response) { |