summaryrefslogtreecommitdiff
path: root/nitro/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'nitro/types.h')
-rw-r--r--nitro/types.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/nitro/types.h b/nitro/types.h
index 327dd01a..d702de23 100644
--- a/nitro/types.h
+++ b/nitro/types.h
@@ -1,10 +1,6 @@
#ifndef POKEDIAMOND_NITRO_TYPES_H
#define POKEDIAMOND_NITRO_TYPES_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef unsigned char u8;
typedef unsigned short int u16;
typedef unsigned long u32;
@@ -41,8 +37,14 @@ typedef int BOOL;
#endif // __cplusplus
#endif
-#ifdef __cplusplus
-};
-#endif
+typedef enum {
+ OS_PROCMODE_USER=16,
+ OS_PROCMODE_FIQ=17,
+ OS_PROCMODE_IRQ=18,
+ OS_PROCMODE_SVC=19,
+ OS_PROCMODE_ABORT=23,
+ OS_PROCMODE_UNDEF=27,
+ OS_PROCMODE_SYS=31
+} OSProcMode;
#endif //POKEDIAMOND_NITRO_TYPES_H