Add AARU_EXPORT and AARU_CALL macros to function implementations for consistency

This commit is contained in:
2025-10-11 03:30:19 +01:00
parent 697b755b1e
commit b4df385b79
16 changed files with 156 additions and 133 deletions

View File

@@ -122,7 +122,7 @@ static void cleanup_open_failure(aaruformat_context *ctx)
* @warning Some memory allocations (version strings) are optional and failure doesn't
* prevent opening, but may affect functionality that depends on version information.
*/
void *aaruf_open(const char *filepath) // NOLINT(readability-function-size)
AARU_EXPORT void AARU_CALL *aaruf_open(const char *filepath) // NOLINT(readability-function-size)
{
aaruformat_context *ctx = NULL;
int error_no = 0;