summaryrefslogtreecommitdiffstats
path: root/platform/web/godot_js.h
diff options
context:
space:
mode:
authorAdam Scott <ascott.ca@gmail.com>2023-07-20 09:42:03 -0400
committerAdam Scott <ascott.ca@gmail.com>2023-10-09 11:50:01 -0400
commit78c2a08fae9dddb262a0e86ec49ebee2267b4a51 (patch)
tree0b61d1c4a4b43cd57aa5b3d3f94464f2b4d52263 /platform/web/godot_js.h
parentc2b916751d7a52e7f002eb7361fe2b12c1cbc488 (diff)
downloadredot-engine-78c2a08fae9dddb262a0e86ec49ebee2267b4a51.tar.gz
Add `proxy_to_pthread` option to `platform=web`
Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
Diffstat (limited to 'platform/web/godot_js.h')
-rw-r--r--platform/web/godot_js.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/web/godot_js.h b/platform/web/godot_js.h
index f172148bf9..031e67e486 100644
--- a/platform/web/godot_js.h
+++ b/platform/web/godot_js.h
@@ -38,6 +38,7 @@ extern "C" {
#endif
#include <stddef.h>
+#include <stdint.h>
// Config
extern void godot_js_config_locale_get(char *p_ptr, int p_ptr_max);
@@ -69,7 +70,7 @@ extern int godot_js_input_gamepad_sample();
extern int godot_js_input_gamepad_sample_count();
extern int godot_js_input_gamepad_sample_get(int p_idx, float r_btns[16], int32_t *r_btns_num, float r_axes[10], int32_t *r_axes_num, int32_t *r_standard);
extern void godot_js_input_paste_cb(void (*p_callback)(const char *p_text));
-extern void godot_js_input_drop_files_cb(void (*p_callback)(char **p_filev, int p_filec));
+extern void godot_js_input_drop_files_cb(void (*p_callback)(const char **p_filev, int p_filec));
// TTS
extern int godot_js_tts_is_speaking();