summaryrefslogtreecommitdiff
path: root/platform/javascript/godot_js.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-02-15 15:48:06 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-02-17 13:03:52 +0100
commit26ec6ca576ec91fe3ae52bd647d7d1778ad4716c (patch)
tree0b5fb068245a91d59a161eeabb55357a782ad1cc /platform/javascript/godot_js.h
parent1446cfd13dae0e2e938466eddd325d45e1a032b5 (diff)
[HTML5] Implement get_processor_count.
Diffstat (limited to 'platform/javascript/godot_js.h')
-rw-r--r--platform/javascript/godot_js.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/javascript/godot_js.h b/platform/javascript/godot_js.h
index d2a2fbd6db..f0da8b7ca3 100644
--- a/platform/javascript/godot_js.h
+++ b/platform/javascript/godot_js.h
@@ -49,6 +49,7 @@ extern int godot_js_os_fs_is_persistent();
extern void godot_js_os_fs_sync(void (*p_callback)());
extern int godot_js_os_execute(const char *p_json);
extern void godot_js_os_shell_open(const char *p_uri);
+extern int godot_js_os_hw_concurrency_get();
// Display
extern int godot_js_display_screen_dpi_get();