Skip to content

MinaModAPI upstream has moved: aebbb91 -> 26efcf4 #1

Description

@github-actions

cmake/MinaModApi.cmake pins MinaModAPI to aebbb9191f1432dc9f81238dcdc9b76acb2208b0; upstream main is now 26efcf46f0e6b05b8d751111929193e17230306f.

Nothing has been changed. Bumping MINAMODAPI_GIT_TAG is a deliberate act: rebuild, check that every member still binds, and re-verify anything the diff touches in the ABI or the enum tables.

Compare upstream

Commits

26efcf4 clarify unused parameter

Files changed

 MinaModAPI.h | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Header diff

diff --git a/MinaModAPI.h b/MinaModAPI.h
index 4618c9d..af82a4a 100644
--- a/MinaModAPI.h
+++ b/MinaModAPI.h
@@ -32,11 +32,14 @@
 #else
 	#define MM_EXPORT_EXTERN
 #endif
-#ifdef _WIN32
+#ifdef _MSC_VER
 	#define MM_EXPORT MM_EXPORT_EXTERN __declspec(dllexport)
 #else
 	#define MM_EXPORT MM_EXPORT_EXTERN __attribute__(( visibility( "default" ) ))
 #endif
+#define MM_INIT( var ) \
+	MM_EXPORT int32_t MinaMod_APIVersion = MinaModAPI_Version; \
+	MM_EXPORT void MinaMod_Init( MinaModAPI* var )
 
 enum { MinaModAPI_Version = 1 };
 
@@ -588,8 +591,8 @@ struct MinaModAPI
 	void                     ( *EntityReparentEntity )( ycEntity* newParent, ycEntity* child, uint32_t flags );
 
 	// world
-	void                     ( *WorldQueueDestroyEntity )( World* world, ycEntity* entity, const bool depthFirst );
-	void                     ( *WorldQueueDestroyComponent )( World* world, ycComponent* component, const bool depthFirst );
+	void                     ( *WorldQueueDestroyEntity )( World* world, ycEntity* entity, bool _unused );
+	void                     ( *WorldQueueDestroyComponent )( World* world, ycComponent* component, bool _unused );
 	/*
 	Global,                   JugFire,                  FireTile, // global is only used under special circumstances
 	BrambleTile,              BramblePlant,             ShortcutPipe,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstream-driftMinaModAPI pin is behind upstream main

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions