godot/modules/gdnative
karroffel 2fb66df669 generate proper API structs for GDNative extension extensions
The GDNative C API gets passed to libraries in a struct of function
pointers. To provide stable binary compatibility, each extension not
part of the core API is separated into its own sub-struct.

These structs aren't meant to be changed in order to keep binary
compatibility.

In case of an API extension, the structs include a `next` pointer
which can point to a new struct with additional function pointers.

Godot's build system generates the API structs automatically at
build time, but so far there has no support for the mentioned `next`
pointers.

This commit changes the API struct generation in such a way that code
that used previous headers will compile without problem with the new
headers.

The new extension-extensions (weird name, but that's what it is) get
generated recursively and include the version in the struct-name.
2018-02-09 11:44:54 +01:00
..
arvr Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
doc_classes doc: Sync with current source 2018-01-25 08:50:56 +01:00
gdnative Added GDNative copy constructor for PoolVectors Read and Write 2018-01-18 02:44:37 +01:00
include Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
nativescript [GDNative] fix NativeScript false negative error 2018-01-18 16:00:38 +01:00
pluginscript Fix inconsistencies and typos in argument names 2018-02-01 16:47:20 +01:00
config.py doc: Make all module docs self-contained 2017-11-15 21:29:33 +01:00
gdnative_api.json Added GDNative copy constructor for PoolVectors Read and Write 2018-01-18 02:44:37 +01:00
gdnative_library_editor_plugin.cpp Merge pull request #15246 from vnen/uwp-gdnative 2018-01-01 22:47:22 -02:00
gdnative_library_editor_plugin.h Fix inconsistencies and typos in argument names 2018-02-01 16:47:20 +01:00
gdnative_library_singleton_editor.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
gdnative_library_singleton_editor.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
gdnative.cpp [GDNative] cache API hashes 2018-01-13 21:21:05 +01:00
gdnative.h [GDNative] added reload property 2018-01-06 12:31:30 +01:00
register_types.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
register_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub generate proper API structs for GDNative extension extensions 2018-02-09 11:44:54 +01:00