io: make print functions macro to supress unused parameter warrnings
@@ -301,14 +301,15 @@ glm_aabb_print(vec3 bbox[2],
#include <stdlib.h>
/* NOOP: Remove print from DEBUG */
-CGLM_INLINE void glm_mat4_print(mat4 matrix, FILE *o) { }
-CGLM_INLINE void glm_mat3_print(mat3 matrix, FILE *o) { }
-CGLM_INLINE void glm_mat2_print(mat2 matrix, FILE *o) { }
-CGLM_INLINE void glm_vec4_print(vec4 vec, FILE *o) { }
-CGLM_INLINE void glm_vec3_print(vec3 vec, FILE *o) { }
-CGLM_INLINE void glm_ivec3_print(ivec3 vec, FILE *o) { }
-CGLM_INLINE void glm_vec2_print(vec2 vec, FILE *o) { }
-CGLM_INLINE void glm_versor_print(versor vec, FILE *o) { }
-CGLM_INLINE void glm_aabb_print(vec3 bbox[2], const char *t, FILE *o) { }
+#define glm_mat4_print(...)
+#define glm_mat3_print(...)
+#define glm_mat2_print(...)
+#define glm_vec4_print(...)
+#define glm_vec3_print(...)
+#define glm_ivec3_print(...)
+#define glm_vec2_print(...)
+#define glm_versor_print(...)
+#define glm_aabb_print(...)
+
#endif
#endif /* cglm_io_h */
