DICT_*_DEF* doesn't require anymore oplists for defining the function:
it can get them from global oplists or default oplits.
This commit is contained in:
1 parent
aae460623d
commit
982d8cf19d
3 files changed
+79
-42
No files matched your search
+1
-1
@@ -5,7 +5,7 @@
|
||||
|
||||
ARRAY_DEF(array_size, size_t)
|
||||
#define M_OPL_array_size_t() ARRAY_OPLIST(array_size)
|
||||
DICT_DEF2(map_pos, string_t, STRING_OPLIST, array_size_t, ARRAY_OPLIST(array_size))
|
||||
DICT_DEF2(map_pos, string_t, array_size_t)
|
||||
#define M_OPL_map_pos_t() DICT_OPLIST(map_pos, STRING_OPLIST, ARRAY_OPLIST(array_size))
|
||||
|
||||
int main(int argc, const char *argv[])
|
||||
|
||||
Reference in new issue
Block a user