summaryrefslogtreecommitdiffhomepage
path: root/public/frameworks/CoreFoundation.fwrk/src
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-24 05:08:21 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-24 05:08:21 +0100
commit77a1bd038f4288a7c24cfe52ad9824ca947c6671 (patch)
treed7e3fe10fce24ddc6a2b3db15a6dc9d6aeee2451 /public/frameworks/CoreFoundation.fwrk/src
parent66be78af046c20bd110793c03062a3ff67b04f9c (diff)
kernel(feat): Add basic wide system bug check (memory check), other
changes have been made too, see commit details for more information. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'public/frameworks/CoreFoundation.fwrk/src')
-rw-r--r--public/frameworks/CoreFoundation.fwrk/src/Foundation.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/public/frameworks/CoreFoundation.fwrk/src/Foundation.cc b/public/frameworks/CoreFoundation.fwrk/src/Foundation.cc
index 219c3bfb..8dffdd02 100644
--- a/public/frameworks/CoreFoundation.fwrk/src/Foundation.cc
+++ b/public/frameworks/CoreFoundation.fwrk/src/Foundation.cc
@@ -6,7 +6,7 @@
#include <CoreFoundation.fwrk/headers/Foundation.h>
-LibCF::CFRect::operator bool()
+CF::CFRect::operator bool()
{
return width > 0 && height > 0;
}
@@ -14,7 +14,7 @@ LibCF::CFRect::operator bool()
/***********************************************************************************/
/// @brief returns true if size matches.
/***********************************************************************************/
-BOOL LibCF::CFRect::SizeMatches(LibCF::CFRect& rect) noexcept
+BOOL CF::CFRect::SizeMatches(CF::CFRect& rect) noexcept
{
return rect.height == height && rect.width == width;
}
@@ -22,7 +22,7 @@ BOOL LibCF::CFRect::SizeMatches(LibCF::CFRect& rect) noexcept
/***********************************************************************************/
/// @brief returns true if position matches.
/***********************************************************************************/
-BOOL LibCF::CFRect::PositionMatches(LibCF::CFRect& rect) noexcept
+BOOL CF::CFRect::PositionMatches(CF::CFRect& rect) noexcept
{
return rect.y == y && rect.x == x;
}
@@ -33,7 +33,7 @@ BOOL LibCF::CFRect::PositionMatches(LibCF::CFRect& rect) noexcept
/// @retval true if point is within this point.
/// @retval the validations have failed, false otherwise true.
/***********************************************************************************/
-BOOL LibCF::CFPoint::IsWithin(LibCF::CFPoint& withinOf)
+BOOL CF::CFPoint::IsWithin(CF::CFPoint& withinOf)
{
return x_1 >= withinOf.x_1 && x_2 <= (withinOf.x_2) &&
y_1 >= withinOf.y_1 && y_2 <= (withinOf.y_2);
@@ -42,7 +42,7 @@ BOOL LibCF::CFPoint::IsWithin(LibCF::CFPoint& withinOf)
/***********************************************************************************/
/// @brief if Point object is correctly set up.
/***********************************************************************************/
-LibCF::CFPoint::operator bool()
+CF::CFPoint::operator bool()
{
return x_1 > x_2 && y_1 > y_2;
} \ No newline at end of file