summaryrefslogtreecommitdiffhomepage
path: root/Private/NewKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-27 14:31:00 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-27 14:31:00 +0100
commit9244027f113c5d60e5e7952214d1c253b4c203da (patch)
tree57d9d6fb432601930b64f78cb7a852b33992a550 /Private/NewKit
parenta33d9510bd36a9fdb98f291250a025cd4bec8bc1 (diff)
SOM: Worked on Compound objects inside system.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/NewKit')
-rw-r--r--Private/NewKit/Defines.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/Private/NewKit/Defines.hpp b/Private/NewKit/Defines.hpp
index 8af9aeb6..a64b816d 100644
--- a/Private/NewKit/Defines.hpp
+++ b/Private/NewKit/Defines.hpp
@@ -81,10 +81,14 @@ Args &&move(Args &&arg) {
return static_cast<Args &&>(arg);
}
-/// Handle type.
+typedef UIntPtr _HandleCls;
+
+/// @brief Looks like an objc class, because it takes inspiration from it.
typedef struct _Handle {
- UIntPtr _Unused;
+ _HandleCls _Cls;
void Release(_Handle *);
+ _Handle* Init();
+ _Handle* Sel(_Handle*, ...);
} *Handle;
} // namespace HCore