diff options
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/kernel/NeKit/Defines.h | 4 | ||||
| -rw-r--r-- | dev/kernel/NeKit/ErrorOr.h | 4 | ||||
| -rw-r--r-- | dev/kernel/NeKit/Ref.h | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/dev/kernel/NeKit/Defines.h b/dev/kernel/NeKit/Defines.h index 0f9a7c4a..27f4f127 100644 --- a/dev/kernel/NeKit/Defines.h +++ b/dev/kernel/NeKit/Defines.h @@ -8,8 +8,8 @@ #include <NeKit/Macros.h> -#define NEWKIT_VERSION_STR "0.0.1" -#define NEWKIT_VERSION_BCD 0x0001 +#define NEKIT_VERSION_STR "0.0.1" +#define NEKIT_VERSION_BCD 0x0001 #ifndef __cplusplus #error Kernel compiles with a C++ compiler. diff --git a/dev/kernel/NeKit/ErrorOr.h b/dev/kernel/NeKit/ErrorOr.h index e8b3b6fc..09f0cad5 100644 --- a/dev/kernel/NeKit/ErrorOr.h +++ b/dev/kernel/NeKit/ErrorOr.h @@ -13,7 +13,7 @@ #include <NeKit/Ref.h> namespace Kernel { -using ErrorT = UInt; +using ErrorT = UInt32; template <typename T> class ErrorOr final { @@ -50,7 +50,7 @@ class ErrorOr final { private: Ref<T> mRef; - Int32 mId{0}; + ErrorT mId{0}; }; using ErrorOrAny = ErrorOr<voidPtr>; diff --git a/dev/kernel/NeKit/Ref.h b/dev/kernel/NeKit/Ref.h index a791ee1a..6f7eca21 100644 --- a/dev/kernel/NeKit/Ref.h +++ b/dev/kernel/NeKit/Ref.h @@ -5,8 +5,8 @@ ------------------------------------------- */ -#ifndef _NEWKIT_REF_H_ -#define _NEWKIT_REF_H_ +#ifndef _NEKIT_REF_H_ +#define _NEKIT_REF_H_ #include <CompilerKit/CompilerKit.h> #include <KernelKit/HeapMgr.h> @@ -67,4 +67,4 @@ class NonNullRef final { }; } // namespace Kernel -#endif // ifndef _NEWKIT_REF_H_ +#endif // ifndef _NEKIT_REF_H_ |
