diff options
author | Karroffel <therzog@mail.de> | 2019-02-04 20:38:44 +0100 |
---|---|---|
committer | QbieShay <cislaghi.ilaria@gmail.com> | 2019-02-08 19:28:40 +0100 |
commit | 682bc0703572a9916db97e614c5742a4a4aa39f9 (patch) | |
tree | 09b2fca6becda82ca70b630f9b76d258013b8032 | |
parent | 16d402147b9057c9f7d43ef9b46eb8654e5483cc (diff) |
Fix generating GDNative API struct for 1.1
Fixes #25425.
-rw-r--r-- | modules/gdnative/gdnative_builders.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/gdnative_builders.py b/modules/gdnative/gdnative_builders.py index cd356ce513..5fd5971fd1 100644 --- a/modules/gdnative/gdnative_builders.py +++ b/modules/gdnative/gdnative_builders.py @@ -213,7 +213,7 @@ def _build_gdnative_api_struct_source(api): 'extern const godot_gdnative_core_api_struct api_struct = {', '\tGDNATIVE_' + api['core']['type'] + ',', '\t{' + str(api['core']['version']['major']) + ', ' + str(api['core']['version']['minor']) + '},', - '\tNULL,', + '\t(const godot_gdnative_api_struct *)&api_1_1,', '\t' + str(len(api['extensions'])) + ',', '\tgdnative_extensions_pointers,', ] |