From 38b7655a70f1eb2b9801e599e86db2e98a7c59d4 Mon Sep 17 00:00:00 2001 From: korompg Date: Mon, 15 Jul 2024 12:19:04 +0200 Subject: [PATCH] Update libgodot.h --- gdextension/libgodot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdextension/libgodot.h b/gdextension/libgodot.h index acb30c08c..d4ba76d80 100644 --- a/gdextension/libgodot.h +++ b/gdextension/libgodot.h @@ -49,7 +49,7 @@ extern "C" { * * @return A pointer to created \ref GodotInstance GDExtension object or nullptr if there was an error. */ -GDExtensionObjectPtr libgodot_create_godot_instance(int p_argc, char *p_argv[], GDExtensionInitializationFunction p_init_func); +__declspec(dllexport) GDExtensionObjectPtr libgodot_create_godot_instance(int p_argc, char *p_argv[], GDExtensionInitializationFunction p_init_func, void *p_platform_data); /** * @name libgodot_destroy_godot_instance @@ -60,7 +60,7 @@ GDExtensionObjectPtr libgodot_create_godot_instance(int p_argc, char *p_argv[], * @param p_godot_instance The reference to the GodotInstance object to destroy. * */ -void libgodot_destroy_godot_instance(GDExtensionObjectPtr p_godot_instance); +__declspec(dllexport) void libgodot_destroy_godot_instance(GDExtensionObjectPtr p_godot_instance); #ifdef __cplusplus }