diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-21 09:09:33 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-21 09:25:16 +0100 |
| commit | 463e7472e737fb8259a30304e729772041ea5498 (patch) | |
| tree | 0cd4aee9d7d0eea2d5279f76bf37fd6887fbc65d /public/frameworks/CoreFoundation.fwrk/headers/Foundation.h | |
| parent | c464e5800961c809c73d4180f8a66885b53c63d7 (diff) | |
feat: kernel: NeKit improvements and new TOML file.
feat: frameworks: CoreFoundation improvements and new KTest framework.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'public/frameworks/CoreFoundation.fwrk/headers/Foundation.h')
| -rw-r--r-- | public/frameworks/CoreFoundation.fwrk/headers/Foundation.h | 18 |
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 |
