summaryrefslogtreecommitdiffhomepage
path: root/public
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-07-24 10:35:32 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-07-24 10:35:32 +0100
commit40498554aa642ac0dbf4ce021df5bbceda5b61e4 (patch)
tree2e420ce84f34ce9bbc418bde0e6e07fb2f35f774 /public
parent989092c04649ff07bbb552b2ccc7c9f44569b75c (diff)
feat: __CF_64BIT__ macro for CoreFoundation.fwrk.
refactor! Semaphore API breaking changes in the new 'SemaphoreArr' type. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'public')
-rw-r--r--public/frameworks/CoreFoundation.fwrk/CoreFoundation.json3
-rw-r--r--public/frameworks/CoreFoundation.fwrk/headers/Foundation.h2
-rw-r--r--public/frameworks/CoreFoundation.fwrk/headers/String.h5
3 files changed, 8 insertions, 2 deletions
diff --git a/public/frameworks/CoreFoundation.fwrk/CoreFoundation.json b/public/frameworks/CoreFoundation.fwrk/CoreFoundation.json
index 076b35ae..39e6b480 100644
--- a/public/frameworks/CoreFoundation.fwrk/CoreFoundation.json
+++ b/public/frameworks/CoreFoundation.fwrk/CoreFoundation.json
@@ -15,7 +15,8 @@
"kCFVersion=0x0100",
"kCFVersionHighest=0x0100",
"kCFVersionLowest=0x0100",
- "__NE_AMD64__"
+ "__NE_AMD64__",
+ "__CF_64BIT__"
]
}
\ No newline at end of file
diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h b/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h
index 500ad544..8396a3e8 100644
--- a/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h
+++ b/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h
@@ -25,7 +25,7 @@ struct CFPoint;
struct CFRect;
struct CFColor;
-#ifndef __LP64__
+#ifndef __CF_64BIT__
typedef SInt32 CFInteger;
typedef float CFReal;
#else
diff --git a/public/frameworks/CoreFoundation.fwrk/headers/String.h b/public/frameworks/CoreFoundation.fwrk/headers/String.h
index c28c05cd..ea32038d 100644
--- a/public/frameworks/CoreFoundation.fwrk/headers/String.h
+++ b/public/frameworks/CoreFoundation.fwrk/headers/String.h
@@ -14,5 +14,10 @@ class CFString;
class CFString final CF_OBJECT {
public:
+ CFString() = default;
+ ~CFString() = default;
+
+ CFString(const CFString&) = delete;
+ CFString& operator=(const CFString&) = delete;
};
} // namespace CF \ No newline at end of file