diff options
| author | Arslaan Pathan <[email protected]> | 2026-10-02 19:08:12 +1300 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-10-02 19:08:12 +1300 |
| commit | ce421c6d05c7855ce50d0377362096f258335d4c (patch) | |
| tree | afada9f9d2fffc536bb7fa2667b71d9747f3a45b /include/Paradox | |
| parent | 68bc96f76ad2de4077bc2a9916f4facbefe5f739 (diff) | |
| download | Paradox-ce421c6d05c7855ce50d0377362096f258335d4c.tar.xz Paradox-ce421c6d05c7855ce50d0377362096f258335d4c.zip | |
Debugging stuff and basic PXObject test
Diffstat (limited to 'include/Paradox')
| -rw-r--r-- | include/Paradox/Core.h | 2 | ||||
| -rw-r--r-- | include/Paradox/Object.h | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/Paradox/Core.h b/include/Paradox/Core.h index 2506399..44ed514 100644 --- a/include/Paradox/Core.h +++ b/include/Paradox/Core.h @@ -2,5 +2,7 @@ #define PARADOX_CORE_H #include <Paradox/Object.h> +#include <objc/objc.h> +#include <objc/runtime.h> #endif diff --git a/include/Paradox/Object.h b/include/Paradox/Object.h index e51c733..a4ef7f8 100644 --- a/include/Paradox/Object.h +++ b/include/Paradox/Object.h @@ -1,8 +1,14 @@ #ifndef PARADOX_OBJECT_H #define PARADOX_OBJECT_H -@interface PXObject +#include <objc/objc.h> +#include <objc/runtime.h> + +@interface PXObject { + Class isa; +} + (instancetype)alloc; ++ (instancetype)allocDebug; - (instancetype)init; - (void)dealloc; @end |
