summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-02-09 13:09:13 +0100
committerGitHub <noreply@github.com>2019-02-09 13:09:13 +0100
commit2a0c9faac218fe49c05ebcfe6fe2fa5db97fed20 (patch)
tree1431acf1cca54b93c2d27f01e7d1d76f0c6d363a /modules
parentb462fdf1cb7c1282067c81561aab4b1389b1b78a (diff)
parent682bc0703572a9916db97e614c5742a4a4aa39f9 (diff)
Merge pull request #25614 from QbieShay/issue_25425
Fix generating GDNative API struct for 1.1
Diffstat (limited to 'modules')
-rw-r--r--modules/gdnative/gdnative_builders.py2
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,',
]