API: Refactor: Use macro for initializing all arrays

This commit is contained in:
Thiago de Arruda
2014-05-23 15:49:48 -03:00
parent 1156360fe7
commit 9815688fbd
5 changed files with 8 additions and 9 deletions

View File

@@ -5,6 +5,7 @@
#include <stdbool.h>
#include <string.h>
#define ARRAY_DICT_INIT {.size = 0, .items = NULL}
#define REMOTE_TYPE(type) typedef uint64_t type
#define TYPED_ARRAY_OF(type) \