Rename M_SUFFIX_FUNCTION_BY_NARGS in M_BY_NARGS
and updates suffix with __NARGS_ in order to be more explicit.
This commit is contained in:
1 parent
31ac3999a1
commit
e049b83a9e
3 files changed
+15
-13
No files matched your search
+2
-2
@@ -570,8 +570,8 @@ static void test_oplist(void)
|
||||
assert (M_ID (M_GET_NAME A5));
|
||||
|
||||
#define A6 (NAME(A6), INIT_WITH(API_1(M_INIT_WITH_NVAR)))
|
||||
#define A6_init_with_1(x) 1
|
||||
#define A6_init_with_2(x, y) 0
|
||||
#define A6_init_with__NARGS_1(x) 1
|
||||
#define A6_init_with__NARGS_2(x, y) 0
|
||||
assert (M_ID(M_CALL_INIT_WITH (A6, 0)));
|
||||
assert (M_ID(!M_CALL_INIT_WITH (A6, 0, 0)));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user