tweak header to document UNUSED a bit more

This commit is contained in:
NunoSempere 2023-12-09 18:05:45 +00:00
parent d84b92cec2
commit 7efa6b6071

View File

@ -30,7 +30,7 @@ double array_std(double* array, int length);
// Mixture function // Mixture function
double sample_mixture(double (*samplers[])(uint64_t*), double* weights, int n_dists, uint64_t* seed); double sample_mixture(double (*samplers[])(uint64_t*), double* weights, int n_dists, uint64_t* seed);
// Trick to mute unused variable warning. Useful for nested functions // Macro to mute "unused variable" warning when -Wall -Wextra is enabled. Useful for nested functions
#define UNUSED(x) (void)(x) #define UNUSED(x) (void)(x)
#endif #endif