mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
[HTML5] Fix JS build without eval.
Also fix download_buffer return type.
This commit is contained in:
parent
9b7b0a28b9
commit
049b5159f1
2 changed files with 7 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue