27 lines
466 B
C
27 lines
466 B
C
#pragma once
|
|
|
|
#include "gdexample.h"
|
|
|
|
#define gd_export(Type_) \
|
|
extern "C" Type_ GDN_Export
|
|
|
|
gd_export(void)
|
|
godot_gdnative_init(godot_gdnative_init_options* o)
|
|
{
|
|
godot::Godot::gdnative_init(o);
|
|
}
|
|
|
|
gd_export(void)
|
|
godot_gdnative_terminate(godot_gdnative_terminate_options* o)
|
|
{
|
|
godot:Godot::gdnative_terminate(o);
|
|
}
|
|
|
|
gd_export(void)
|
|
godot_nativescript_init(void* handle)
|
|
{
|
|
godot::Godot::nativescript_init(handle);
|
|
|
|
godot::register_class<godot::GDExample>();
|
|
}
|