diff options
Diffstat (limited to 'include/CoreRuntimeKit')
| -rw-r--r-- | include/CoreRuntimeKit/C++/abi/abi.hpp | 2 | ||||
| -rw-r--r-- | include/CoreRuntimeKit/C++/abi/new.hpp | 2 | ||||
| -rw-r--r-- | include/CoreRuntimeKit/C++/core/base_alloc.hpp | 2 | ||||
| -rw-r--r-- | include/CoreRuntimeKit/Nectar/exports.hpp | 8 |
4 files changed, 13 insertions, 1 deletions
diff --git a/include/CoreRuntimeKit/C++/abi/abi.hpp b/include/CoreRuntimeKit/C++/abi/abi.hpp index 82ffd81..c0a2680 100644 --- a/include/CoreRuntimeKit/C++/abi/abi.hpp +++ b/include/CoreRuntimeKit/C++/abi/abi.hpp @@ -10,7 +10,7 @@ __init_decl() - static constexpr int32_t __unreachable_code = 34; +static constexpr int32_t __unreachable_code = 34; inline void __compilerkit_unreachable(void) { std::base_process::signal(__unreachable_code); diff --git a/include/CoreRuntimeKit/C++/abi/new.hpp b/include/CoreRuntimeKit/C++/abi/new.hpp index 71afa28..9e86e22 100644 --- a/include/CoreRuntimeKit/C++/abi/new.hpp +++ b/include/CoreRuntimeKit/C++/abi/new.hpp @@ -8,6 +8,7 @@ #include <defines> namespace std { + struct nothrow_t final { explicit nothrow_t() = default; ~nothrow_t() = default; @@ -21,6 +22,7 @@ struct placement_t final { int32_t __align{}; size_t __size{}; }; + } // namespace std // AMLALE: Define the placement_t feature. diff --git a/include/CoreRuntimeKit/C++/core/base_alloc.hpp b/include/CoreRuntimeKit/C++/core/base_alloc.hpp index 9e10f92..4d715f7 100644 --- a/include/CoreRuntimeKit/C++/core/base_alloc.hpp +++ b/include/CoreRuntimeKit/C++/core/base_alloc.hpp @@ -8,6 +8,7 @@ #include <defines> namespace std::base_alloc { + /// @brief allocate a new class. /// @tparam KindClass the class type to allocate. template <class KindClass, typename... Args> @@ -39,4 +40,5 @@ template <class KindClass> inline void release_nothrow(KindClass ptr) noexcept { release(ptr); } + } // namespace std::base_alloc diff --git a/include/CoreRuntimeKit/Nectar/exports.hpp b/include/CoreRuntimeKit/Nectar/exports.hpp index 115484f..72638af 100644 --- a/include/CoreRuntimeKit/Nectar/exports.hpp +++ b/include/CoreRuntimeKit/Nectar/exports.hpp @@ -5,3 +5,11 @@ // Official repository: https://github.com/ne-foss-org/nectar #pragma once + +#include <CoreRuntimeKit/C++/abi/abi.hpp> +#include <CoreRuntimeKit/C++/abi/new.hpp> + +/// @brief The Nectar FFI. +namespace nectar_lang { + +} |
