diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-27 01:43:44 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-27 01:43:44 +0100 |
| commit | 2174548c1cd0695399275dc59f1e4e3f726b4a6f (patch) | |
| tree | f4f3ae198e311686be8d13ba7c9e6d28c49177f5 /include | |
| parent | 81c082643568ef4507c92c6f8c4d7f2778274aa6 (diff) | |
[FEAT] Refactor CoreRuntimeKit to CoreRuntime and its design.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/CoreRuntime/README.md (renamed from include/CoreRuntimeKit/README.md) | 0 | ||||
| -rw-r--r-- | include/CoreRuntime/cplusplus/abi/abi.hpp (renamed from include/CoreRuntimeKit/C++/abi/abi.hpp) | 4 | ||||
| -rw-r--r-- | include/CoreRuntime/cplusplus/abi/new.hpp (renamed from include/CoreRuntimeKit/C++/abi/new.hpp) | 2 | ||||
| -rw-r--r-- | include/CoreRuntime/cplusplus/core/base_alloc.hpp (renamed from include/CoreRuntimeKit/C++/core/base_alloc.hpp) | 2 | ||||
| -rw-r--r-- | include/CoreRuntime/cplusplus/core/base_exception.hpp (renamed from include/CoreRuntimeKit/C++/core/base_exception.hpp) | 6 | ||||
| -rw-r--r-- | include/CoreRuntime/cplusplus/core/base_math.hpp (renamed from include/CoreRuntimeKit/C++/core/base_math.hpp) | 2 | ||||
| -rw-r--r-- | include/CoreRuntime/cplusplus/core/base_process.hpp (renamed from include/CoreRuntimeKit/C++/core/base_process.hpp) | 2 | ||||
| -rw-r--r-- | include/CoreRuntime/cplusplus/defines.hpp (renamed from include/CoreRuntimeKit/C++/defines.hpp) | 0 | ||||
| -rw-r--r-- | include/CoreRuntime/cplusplus/utility.hpp (renamed from include/CoreRuntimeKit/C++/utility.hpp) | 0 | ||||
| -rw-r--r-- | include/CoreRuntime/nec/exports.hpp (renamed from include/CoreRuntimeKit/Nectar/exports.hpp) | 4 | ||||
| -rw-r--r-- | include/CoreRuntimeKit/C++/filesystem/filesystem.hpp | 18 | ||||
| -rw-r--r-- | include/CoreRuntimeKit/Nectar/.keep | 0 |
12 files changed, 11 insertions, 29 deletions
diff --git a/include/CoreRuntimeKit/README.md b/include/CoreRuntime/README.md index 84d50bb..84d50bb 100644 --- a/include/CoreRuntimeKit/README.md +++ b/include/CoreRuntime/README.md diff --git a/include/CoreRuntimeKit/C++/abi/abi.hpp b/include/CoreRuntime/cplusplus/abi/abi.hpp index c0a2680..fe60401 100644 --- a/include/CoreRuntimeKit/C++/abi/abi.hpp +++ b/include/CoreRuntime/cplusplus/abi/abi.hpp @@ -5,8 +5,8 @@ #pragma once -#include <base_process> -#include <defines> +#include <CoreRuntime/cplusplus/core/base_process.hpp> +#include <CoreRuntime/cplusplus/defines.hpp> __init_decl() diff --git a/include/CoreRuntimeKit/C++/abi/new.hpp b/include/CoreRuntime/cplusplus/abi/new.hpp index 9e86e22..6592567 100644 --- a/include/CoreRuntimeKit/C++/abi/new.hpp +++ b/include/CoreRuntime/cplusplus/abi/new.hpp @@ -5,7 +5,7 @@ #pragma once -#include <defines> +#include <CoreRuntime/cplusplus/defines.hpp> namespace std { diff --git a/include/CoreRuntimeKit/C++/core/base_alloc.hpp b/include/CoreRuntime/cplusplus/core/base_alloc.hpp index 4d715f7..3b79706 100644 --- a/include/CoreRuntimeKit/C++/core/base_alloc.hpp +++ b/include/CoreRuntime/cplusplus/core/base_alloc.hpp @@ -5,7 +5,7 @@ #pragma once -#include <defines> +#include <CoreRuntime/cplusplus/defines.hpp> namespace std::base_alloc { diff --git a/include/CoreRuntimeKit/C++/core/base_exception.hpp b/include/CoreRuntime/cplusplus/core/base_exception.hpp index c103da5..7316dfa 100644 --- a/include/CoreRuntimeKit/C++/core/base_exception.hpp +++ b/include/CoreRuntime/cplusplus/core/base_exception.hpp @@ -5,9 +5,9 @@ #pragma once -#include <abi> -#include <base_process> -#include <defines> +#include <CoreRuntime/cplusplus/abi/abi.hpp> +#include <CoreRuntime/cplusplus/core/base_process.hpp> +#include <CoreRuntime/cplusplus/defines.hpp> #include <iostream> /// @author Amlal El Mahrouss (amlal@nekernel.org) diff --git a/include/CoreRuntimeKit/C++/core/base_math.hpp b/include/CoreRuntime/cplusplus/core/base_math.hpp index 6691c27..103a1eb 100644 --- a/include/CoreRuntimeKit/C++/core/base_math.hpp +++ b/include/CoreRuntime/cplusplus/core/base_math.hpp @@ -5,7 +5,7 @@ #pragma once -#include <defines> +#include <CoreRuntime/cplusplus/defines.hpp> #ifndef NAN #define NAN (__builtin_nanf("")) diff --git a/include/CoreRuntimeKit/C++/core/base_process.hpp b/include/CoreRuntime/cplusplus/core/base_process.hpp index 84354a9..7673577 100644 --- a/include/CoreRuntimeKit/C++/core/base_process.hpp +++ b/include/CoreRuntime/cplusplus/core/base_process.hpp @@ -5,7 +5,7 @@ #pragma once -#include <defines> +#include <CoreRuntime/cplusplus/defines.hpp> __init_decl() diff --git a/include/CoreRuntimeKit/C++/defines.hpp b/include/CoreRuntime/cplusplus/defines.hpp index 3cd1ee1..3cd1ee1 100644 --- a/include/CoreRuntimeKit/C++/defines.hpp +++ b/include/CoreRuntime/cplusplus/defines.hpp diff --git a/include/CoreRuntimeKit/C++/utility.hpp b/include/CoreRuntime/cplusplus/utility.hpp index a427c44..a427c44 100644 --- a/include/CoreRuntimeKit/C++/utility.hpp +++ b/include/CoreRuntime/cplusplus/utility.hpp diff --git a/include/CoreRuntimeKit/Nectar/exports.hpp b/include/CoreRuntime/nec/exports.hpp index 72638af..3fea960 100644 --- a/include/CoreRuntimeKit/Nectar/exports.hpp +++ b/include/CoreRuntime/nec/exports.hpp @@ -6,8 +6,8 @@ #pragma once -#include <CoreRuntimeKit/C++/abi/abi.hpp> -#include <CoreRuntimeKit/C++/abi/new.hpp> +#include <CoreRuntime/C++/abi/abi.hpp> +#include <CoreRuntime/C++/abi/new.hpp> /// @brief The Nectar FFI. namespace nectar_lang { diff --git a/include/CoreRuntimeKit/C++/filesystem/filesystem.hpp b/include/CoreRuntimeKit/C++/filesystem/filesystem.hpp deleted file mode 100644 index 917dd0f..0000000 --- a/include/CoreRuntimeKit/C++/filesystem/filesystem.hpp +++ /dev/null @@ -1,18 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 -// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org) -// Licensed under the Apache License, Version 2.0 (see LICENSE file) -// Official repository: https://github.com/ne-foss-org/nectar - -#ifndef __NECTAR_FS_H__ -#define __NECTAR_FS_H__ - -#include <defines> - -namespace std { -class path; -class filesystem_error; -class directory_entry; -class directory_iterator; -} // namespace std - -#endif // __NECTAR_FS_H__ diff --git a/include/CoreRuntimeKit/Nectar/.keep b/include/CoreRuntimeKit/Nectar/.keep deleted file mode 100644 index e69de29..0000000 --- a/include/CoreRuntimeKit/Nectar/.keep +++ /dev/null |
