OverviewFilesCommitsIssuesDocsReleasesPeers

godot-witchy_world_demo / addons / zylann.hterrain / native / src / gd_library.cpp

29 lines · cpp ref:
#include "image_utils.h"

extern "C" {

void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *o) {
#ifdef _DEBUG
    printf("godot_gdnative_init hterrain_native\n");
#endif
    godot::Godot::gdnative_init(o);
}

void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_options *o) {
#ifdef _DEBUG
    printf("godot_gdnative_terminate hterrain_native\n");
#endif
    godot::Godot::gdnative_terminate(o);
}

void GDN_EXPORT godot_nativescript_init(void *handle) {
#ifdef _DEBUG
    printf("godot_nativescript_init hterrain_native\n");
#endif
    godot::Godot::nativescript_init(handle);

    godot::register_tool_class<godot::ImageUtils>();
}

} // extern "C"