We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20d3b2b commit 007a1c8Copy full SHA for 007a1c8
common/src/include/nsi_utils.h
@@ -21,6 +21,8 @@
21
#define NSI_MAX(a, b) (((a) > (b)) ? (a) : (b))
22
#define NSI_MIN(a, b) (((a) < (b)) ? (a) : (b))
23
24
+#define NSI_ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0]))
25
+
26
#ifndef NSI_ARG_UNUSED
27
#define NSI_ARG_UNUSED(x) (void)(x)
28
#endif
0 commit comments