Skip to content

Commit

Permalink
Update libgodot.h
Browse files Browse the repository at this point in the history
  • Loading branch information
korompg committed Jul 15, 2024
1 parent ee5a7dc commit 38b7655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gdextension/libgodot.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
Expand Down

0 comments on commit 38b7655

Please sign in to comment.