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,
cmake/MinaModApi.cmakepins MinaModAPI toaebbb9191f1432dc9f81238dcdc9b76acb2208b0; upstreammainis now26efcf46f0e6b05b8d751111929193e17230306f.Nothing has been changed. Bumping
MINAMODAPI_GIT_TAGis 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
Files changed
Header diff