mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Extend macros to allow flag arguments.
This commit is contained in:
@@ -49,7 +49,7 @@ typedef struct test_struct_t {
|
||||
static test_struct_t test_struct_t_dummy;
|
||||
|
||||
#define VAR(varname,conftype,member,initvalue) \
|
||||
CONFIG_VAR_ETYPE(test_struct_t, varname, conftype, member, initvalue)
|
||||
CONFIG_VAR_ETYPE(test_struct_t, varname, conftype, member, 0, initvalue)
|
||||
#define V(member,conftype,initvalue) \
|
||||
VAR(#member, conftype, member, initvalue)
|
||||
#define OBSOLETE(varname) \
|
||||
|
||||
Reference in New Issue
Block a user