BAN: Make String and StringView header only

This allows linking with libc without having to link ban
This commit is contained in:
2024-05-23 15:43:26 +03:00
parent e22821799b
commit 06f4b0b29a
16 changed files with 444 additions and 554 deletions

View File

@@ -1,11 +1,9 @@
#pragma once
#include <BAN/StringView.h>
namespace Kernel
{
enum class ErrorCode : uint32_t
enum class ErrorCode
{
None,
ACPI_NoRootSDT,
@@ -31,6 +29,6 @@ namespace Kernel
Count
};
BAN::StringView error_string(ErrorCode);
const char* error_string(ErrorCode);
}