aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorJesse Talavera-Greenberg <jesse@jesse.tg>2023-11-25 12:32:09 -0500
committerGitHub <noreply@github.com>2023-11-25 18:32:09 +0100
commit346dd4006ea1283136095d5c43f602324a095092 (patch)
treeedf04631782bbfcdb48eac79b79aebb11b40f479 /src/types.h
parent651b0f680c4531558990a5beb0e638968009dc51 (diff)
Move all core types into namespaces (#1886)
* Reorganize namespaces - Most types are now moved into the `melonDS` namespace - Only good chance to do this for a while, since a big refactor is next * Fix the build
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index 3855644..d37b225 100644
--- a/src/types.h
+++ b/src/types.h
@@ -21,6 +21,8 @@
#include <stdint.h>
+namespace melonDS
+{
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
@@ -30,4 +32,5 @@ typedef int16_t s16;
typedef int32_t s32;
typedef int64_t s64;
+}
#endif // TYPES_H