summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-x[-rw-r--r--]include/global.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 67a9548b6..13db2620f 100644..100755
--- a/include/global.h
+++ b/include/global.h
@@ -12,6 +12,14 @@
#define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided\n")
+#define nonmatching(fndec, x) {\
+__attribute__((naked))\
+fndec\
+{\
+ asm_unified(x);\
+}\
+}
+
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
#define POKEMON_NAME_LENGTH 10