Add ARRAY_INIT_VALUE
This commit is contained in:
1 parent
9c2468c2b7
commit
f8b4f44105
3 files changed
+27
No files matched your search
@@ -53,6 +53,12 @@
|
||||
(__VA_ARGS__ )))
|
||||
|
||||
|
||||
/* Define an init value to init global variables of type array.
|
||||
USAGE:
|
||||
array_t global_variable = ARRAY_INIT_VALUE(array_oplist);
|
||||
*/
|
||||
#define ARRAY_INIT_VALUE() \
|
||||
{ { 0, 0, NULL } }
|
||||
|
||||
/********************************************************************************/
|
||||
/********************************** INTERNAL ************************************/
|
||||
|
||||
Reference in new issue
Block a user