diff options
author | Bastiaan Olij <mux213@gmail.com> | 2021-09-11 12:08:12 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2021-09-13 18:50:00 +1000 |
commit | f9849a271777fe48572a542997f58ab339006854 (patch) | |
tree | ce3b18a4c7c45570bb30aaa5490765b23d9d5c24 /core/extension | |
parent | bbdfc547cad77a8265592c210f01d5a7f52430ca (diff) |
Add driver types to GD extension initialisation levels
Diffstat (limited to 'core/extension')
-rw-r--r-- | core/extension/gdnative_interface.h | 2 | ||||
-rw-r--r-- | core/extension/native_extension.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/core/extension/gdnative_interface.h b/core/extension/gdnative_interface.h index 63f4b0917c..30346f233f 100644 --- a/core/extension/gdnative_interface.h +++ b/core/extension/gdnative_interface.h @@ -449,6 +449,8 @@ typedef enum { GDNATIVE_INITIALIZATION_SERVERS, GDNATIVE_INITIALIZATION_SCENE, GDNATIVE_INITIALIZATION_EDITOR, + GDNATIVE_INITIALIZATION_DRIVER, + GDNATIVE_MAX_INITIALIZATION_LEVEL, } GDNativeInitializationLevel; typedef struct { diff --git a/core/extension/native_extension.h b/core/extension/native_extension.h index b661381d64..9b1ebe0ed7 100644 --- a/core/extension/native_extension.h +++ b/core/extension/native_extension.h @@ -70,6 +70,7 @@ public: INITIALIZATION_LEVEL_SERVERS, INITIALIZATION_LEVEL_SCENE, INITIALIZATION_LEVEL_EDITOR, + INITIALIZATION_LEVEL_DRIVER, }; bool is_library_open() const; |