This repository has been archived on 2024-10-18. You can view files and clone it, but cannot push or open issues or pull requests.
SymbolEngine__archived_repo.../Source/gdlibrary.h
Ed94 96dad8a849 following tut, bs happend.
gdnative decided to hardcode the directories of is includes to godot_cpp for the directory of the fucking git repo.
2022-05-12 08:18:55 -04:00

25 lines
452 B
C

#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>();
}