[HTML5] Fix JS build without eval.

Also fix download_buffer return type.
This commit is contained in:
Fabio Alessandrelli 2021-06-14 12:32:03 +02:00
parent 9b7b0a28b9
commit 049b5159f1
2 changed files with 7 additions and 4 deletions

View file

@ -41,7 +41,7 @@
// JavaScript functions defined in library_godot_editor_tools.js
extern "C" {
extern int godot_js_os_download_buffer(const uint8_t *p_buf, int p_buf_size, const char *p_name, const char *p_mime);
extern void godot_js_os_download_buffer(const uint8_t *p_buf, int p_buf_size, const char *p_name, const char *p_mime);
}
static void _javascript_editor_init_callback() {