From df0514f15994c8a278c89d7028f0158ea4041076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 3 Aug 2022 10:08:09 +0200 Subject: [PATCH] Update files to Godot 3.4.5-stable (3.4 branch) --- api.json | 4 ++-- nativescript/godot_nativescript.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api.json b/api.json index 87b8cea..507b272 100644 --- a/api.json +++ b/api.json @@ -6,7 +6,7 @@ "singleton": true, "singleton_name": "GlobalConstants", "instanciable": false, - "is_reference": false, + "is_reference": true, "constants": { "BUTTON_LEFT": 1, "BUTTON_MASK_LEFT": 1, @@ -60576,7 +60576,7 @@ }, { "name": "handle_menu_selected", - "return_type": "void", + "return_type": "bool", "is_editor": false, "is_noscript": false, "is_const": false, diff --git a/nativescript/godot_nativescript.h b/nativescript/godot_nativescript.h index 1edb2c8..eb8575f 100644 --- a/nativescript/godot_nativescript.h +++ b/nativescript/godot_nativescript.h @@ -145,7 +145,7 @@ typedef struct { } godot_method_attributes; typedef struct { - // instance pointer, method data, user data, num args, args - return result as varaint + // instance pointer, method data, user data, num args, args - return result as variant GDCALLINGCONV godot_variant (*method)(godot_object *, void *, void *, int, godot_variant **); void *method_data; GDCALLINGCONV void (*free_func)(void *);