diff options
author | Adam Scott <ascott.ca@gmail.com> | 2023-07-20 09:42:03 -0400 |
---|---|---|
committer | Adam Scott <ascott.ca@gmail.com> | 2023-10-09 11:50:01 -0400 |
commit | 78c2a08fae9dddb262a0e86ec49ebee2267b4a51 (patch) | |
tree | 0b61d1c4a4b43cd57aa5b3d3f94464f2b4d52263 /platform/web/godot_js.h | |
parent | c2b916751d7a52e7f002eb7361fe2b12c1cbc488 (diff) | |
download | redot-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.h | 3 |
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(); |