From 269203a02261d53eb87817c8692bc56f0cf4e3dd Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Sun, 13 Aug 2017 15:37:56 +0700 Subject: Provide NativeScript properties in definition order --- modules/gdnative/nativescript/nativescript.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/gdnative/nativescript/nativescript.h') diff --git a/modules/gdnative/nativescript/nativescript.h b/modules/gdnative/nativescript/nativescript.h index 6c55e3e327..bc7e850d3e 100644 --- a/modules/gdnative/nativescript/nativescript.h +++ b/modules/gdnative/nativescript/nativescript.h @@ -32,6 +32,7 @@ #include "io/resource_loader.h" #include "io/resource_saver.h" +#include "ordered_hash_map.h" #include "os/thread_safe.h" #include "resource.h" #include "scene/main/node.h" @@ -65,7 +66,7 @@ struct NativeScriptDesc { }; Map methods; - Map properties; + OrderedHashMap properties; Map signals_; // QtCreator doesn't like the name signals StringName base; StringName base_native_type; -- cgit v1.2.3