summaryrefslogtreecommitdiffhomepage
path: root/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-21 03:30:40 -0500
committerGitHub <noreply@github.com>2025-11-21 03:30:40 -0500
commite3fa27827e7647a0ecc466f4d92097fe48fbbb43 (patch)
tree33ba30655f555d37e3c970707b27413936e5a9ad /public/frameworks/CoreFoundation.fwrk/headers/Foundation.h
parentc739255b48b3a5b2e184ca1a637f9f1f95c978ff (diff)
parentefefa7221a3fea3636a64f2bf067e2af75626f34 (diff)
Merge pull request #79 from nekernel-org/devv0.0.61
Kernel: OpenHeFS fixes and new components.
Diffstat (limited to 'public/frameworks/CoreFoundation.fwrk/headers/Foundation.h')
-rw-r--r--public/frameworks/CoreFoundation.fwrk/headers/Foundation.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h b/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h
index e195c572..68b00264 100644
--- a/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h
+++ b/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h
@@ -14,7 +14,7 @@
namespace CF {
class CFString;
-class CFGUID;
+union CFGUID;
class CFProperty;
class CFObject;
@@ -72,4 +72,20 @@ struct CFRect final {
BOOL SizeMatches(CFRect& rect) noexcept;
BOOL PositionMatches(CFRect& rect) noexcept;
};
+
+union CFGUID final {
+ alignas(8) UInt16 fU8[16];
+ alignas(8) UInt16 fU16[8];
+ alignas(8) UInt32 fU32[4];
+ alignas(8) UInt64 fU64[2];
+
+ struct {
+ alignas(8) UInt32 fMs1;
+ UInt16 fMs2;
+ UInt16 fMs3;
+ UInt8 fMs4[8];
+ } fUuid;
+};
+
+using CF_GUID_TYPE = union CFGUID;
} // namespace CF \ No newline at end of file