diff options
| author | 2026-06-29 03:00:12 -0500 | |
|---|---|---|
| committer | 2026-06-29 03:00:12 -0500 | |
| commit | 6bb84fe005fc151df1a67259242da9c0eaf3fe93 (patch) | |
| tree | 683d6e160bf48fd0c235635be874a8fef697402c /ppc/source/macros.h | |
| parent | add new tests (diff) | |
begin work on pc side
Diffstat (limited to 'ppc/source/macros.h')
| -rw-r--r-- | ppc/source/macros.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ppc/source/macros.h b/ppc/source/macros.h new file mode 100644 index 0000000..9a9db83 --- /dev/null +++ b/ppc/source/macros.h @@ -0,0 +1,14 @@ +#ifndef EXITEST_MACROS_H_INCLUDED +#define EXITEST_MACROS_H_INCLUDED + +#define STR(_s) STR2(_s) +#define STR2(_s) #_s + +#define PASTE(_x, _y) PASTE2(_x, _y) +#define PASTE2(_x, _y) _x ## _y + +#define COMMA , + +#define ARRLEN(_a) sizeof(_a) / sizeof(*(_a)) + +#endif /* include guard */ |
