| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
It can be useful to have a count to keep track of which argument number in the
list is being expanded.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
|
|
|
|
|
|
|
| |
The original ccan module does not include a macro to increment numbers. Add one
which will increment upto 32 which is enough for our usage.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
|
|
|
|
|
|
|
|
| |
The original implementation of non-empty will fail to compile if passed an
argument of the form 'CPPMAGIC_NONEMPTY((...))'. Add a check for parentheses and
return true if passed.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
|
|
A couple of arguably useful C preprocessor abuses. License is BSD-MIT.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
|