[GDnative] replace gdnative_api_struct.h by a json-based autogenerated system
This commit is contained in:
@ -40,15 +40,8 @@
|
||||
const String init_symbol = "godot_gdnative_init";
|
||||
const String terminate_symbol = "godot_gdnative_terminate";
|
||||
|
||||
#define GDAPI_FUNC(name, ret_type, ...) name,
|
||||
#define GDAPI_FUNC_VOID(name, ...) name,
|
||||
|
||||
const godot_gdnative_api_struct api_struct = {
|
||||
GODOT_GDNATIVE_API_FUNCTIONS
|
||||
};
|
||||
|
||||
#undef GDAPI_FUNC
|
||||
#undef GDAPI_FUNC_VOID
|
||||
// Defined in gdnative_api_struct.gen.cpp
|
||||
extern const godot_gdnative_api_struct api_struct;
|
||||
|
||||
String GDNativeLibrary::platform_names[NUM_PLATFORMS + 1] = {
|
||||
"X11_32bit",
|
||||
|
||||
Reference in New Issue
Block a user