Provide NativeScript properties in definition order
This commit is contained in:
parent
e611ff5f01
commit
269203a022
3 changed files with 76 additions and 30 deletions
|
|
@ -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<StringName, Method> methods;
|
||||
Map<StringName, Property> properties;
|
||||
OrderedHashMap<StringName, Property> properties;
|
||||
Map<StringName, Signal> signals_; // QtCreator doesn't like the name signals
|
||||
StringName base;
|
||||
StringName base_native_type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue