mirror of
https://github.com/godotengine/gdnative-demos.git
synced 2026-01-03 14:09:44 +03:00
add GDN_EXPORT to C++ examples
This commit is contained in:
@@ -2,17 +2,17 @@
|
||||
|
||||
#include "Simple.hpp"
|
||||
|
||||
extern "C" void godot_gdnative_init(godot_gdnative_init_options *o)
|
||||
extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *o)
|
||||
{
|
||||
godot::Godot::gdnative_init(o);
|
||||
}
|
||||
|
||||
extern "C" void godot_gdnative_terminate(godot_gdnative_terminate_options *o)
|
||||
extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_options *o)
|
||||
{
|
||||
godot::Godot::gdnative_terminate(o);
|
||||
}
|
||||
|
||||
extern "C" void godot_nativescript_init(void *handle)
|
||||
extern "C" void GDN_EXPORT godot_nativescript_init(void *handle)
|
||||
{
|
||||
godot::Godot::nativescript_init(handle);
|
||||
|
||||
|
||||
@@ -21,15 +21,15 @@
|
||||
|
||||
using namespace godot;
|
||||
|
||||
extern "C" void godot_gdnative_init(godot_gdnative_init_options *options) {
|
||||
extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *options) {
|
||||
Godot::gdnative_init(options);
|
||||
}
|
||||
|
||||
extern "C" void godot_gdnative_terminate(godot_gdnative_terminate_options *options) {
|
||||
extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_options *options) {
|
||||
Godot::gdnative_terminate(options);
|
||||
}
|
||||
|
||||
extern "C" void godot_nativescript_init(void *handle) {
|
||||
extern "C" void GDN_EXPORT godot_nativescript_init(void *handle) {
|
||||
|
||||
Godot::nativescript_init(handle);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user