summaryrefslogtreecommitdiffstats
path: root/ppc/source/macros.h
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <bigfoot@figboot.dev>2026-06-29 03:00:12 -0500
committerLibravatar bigfoot547 <bigfoot@figboot.dev>2026-06-29 03:00:12 -0500
commit6bb84fe005fc151df1a67259242da9c0eaf3fe93 (patch)
tree683d6e160bf48fd0c235635be874a8fef697402c /ppc/source/macros.h
parentadd new tests (diff)
begin work on pc side
Diffstat (limited to 'ppc/source/macros.h')
-rw-r--r--ppc/source/macros.h14
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 */