summaryrefslogtreecommitdiffhomepage
path: root/Comm
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-06-28 08:26:19 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-06-28 08:26:19 +0200
commitc142fe6fda7d09e929c9706b444cdc13ed5e72f3 (patch)
treef42890096937271233da33d9c201043fb9960634 /Comm
parente32c206fe1d17eb96339b280c7f061e7201bd15b (diff)
IMP: Feature Pack #1
- Process scheduler. - System calls. - ACPI support. - Driver kit. - Filesystem support. - Program loader. - newstd/herror APIs. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Comm')
-rw-r--r--Comm/compile_flags.txt3
-rw-r--r--Comm/herror.hxx8
-rw-r--r--Comm/newstd.hxx2
3 files changed, 8 insertions, 5 deletions
diff --git a/Comm/compile_flags.txt b/Comm/compile_flags.txt
new file mode 100644
index 00000000..e1f07ac3
--- /dev/null
+++ b/Comm/compile_flags.txt
@@ -0,0 +1,3 @@
+-I./
+-I../Kerne;
+-std=c++20
diff --git a/Comm/herror.hxx b/Comm/herror.hxx
index 8cf15d17..e5042b60 100644
--- a/Comm/herror.hxx
+++ b/Comm/herror.hxx
@@ -8,6 +8,10 @@
#include <Comm/newstd.hxx>
+#define DbgOk() (kLastError == kErrorSuccess)
+#define DbgFailed() (kLastError != kErrorSuccess)
+#define DbgLastError() kLastError
+
typedef SInt32 HError;
inline constexpr HError kErrorSuccess = 0;
@@ -39,8 +43,4 @@ inline constexpr HError kErrorAsync = 57;
inline constexpr HError kErrorNonBlocking = 58;
inline constexpr HError kErrorUnimplemented = 0;
-#define DbgOk() (kLastError == kErrorSuccess)
-#define DbgFailed() (kLastError != kErrorSuccess)
-#define DbgLastError() kLastError
-
inline HError kLastError = 0;
diff --git a/Comm/newstd.hxx b/Comm/newstd.hxx
index a56d1993..51216296 100644
--- a/Comm/newstd.hxx
+++ b/Comm/newstd.hxx
@@ -136,7 +136,7 @@ public:
};
/**
-This class contains an URL
+@brief This class contains an URL
*/
class NURL
{