diff options
author | Ian Jauslin <ian.jauslin@roma1.infn.it> | 2016-05-20 21:41:54 +0000 |
---|---|---|
committer | Ian Jauslin <ian.jauslin@roma1.infn.it> | 2016-05-20 21:41:54 +0000 |
commit | 46cae873fa2bd7973aa2e98d5955d2287822c604 (patch) | |
tree | e5b254c772210d6910c7b8fa4dbbdaa9a9400a12 /src/array_str.h | |
parent | 2125f01f97abfe343fc5e0cc078bf1d081b2e441 (diff) |
Diffstat (limited to 'src/array_str.h')
-rw-r--r-- | src/array_str.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/array_str.h b/src/array_str.h index 2d35d1b..2df0bef 100644 --- a/src/array_str.h +++ b/src/array_str.h @@ -23,6 +23,7 @@ limitations under the License. #undef ARRAY_TYPENAME #undef ARRAY_FUNC #undef ARRAY_VAL_TYPE +#undef ARRAY_VAL_INIT #undef ARRAY_VAL_FREE #undef ARRAY_VAL_SET #undef ARRAY_VAL_CPY @@ -39,6 +40,8 @@ limitations under the License. // type of values #define ARRAY_VAL_TYPE array_char +// init +#define ARRAY_VAL_INIT(VAL, SIZE) array_char_init(VAL, SIZE) // free #define ARRAY_VAL_FREE(VAL) array_char_free(VAL) // set values |