diff options
Diffstat (limited to 'Comm')
| -rw-r--r-- | Comm/compile_flags.txt | 3 | ||||
| -rw-r--r-- | Comm/herror.hxx | 8 | ||||
| -rw-r--r-- | Comm/newstd.hxx | 2 |
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
{
|
