projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add the A() macro to get the array type.
[apps/pfixtools.git]
/
common
/
trie.c
diff --git
a/common/trie.c
b/common/trie.c
index
9ffa9b5
..
5bf18ec
100644
(file)
--- a/
common/trie.c
+++ b/
common/trie.c
@@
-52,10
+52,10
@@
struct trie_entry_t {
ARRAY(trie_entry_t)
struct trie_t {
-
trie_entry_t_array_t
entries;
-
char_array_t
c;
-
char_array_t
keys;
-
int_array_t
keys_offset;
+
A(trie_entry_t)
entries;
+
A(char)
c;
+
A(char)
keys;
+
A(int)
keys_offset;
bool locked;
};