summaryrefslogtreecommitdiffhomepage
path: root/dev/LibC++
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-20 19:39:28 -0500
committerGitHub <noreply@github.com>2025-11-20 19:39:28 -0500
commitc78b97d70a06f0d17e52bf4ac58d4b917789e8a6 (patch)
treed4ab3c4e1685e7f3906bc29dd47cc130d116e190 /dev/LibC++
parent274936aa8c14c09239f771bce5b5cc5b6ae507a2 (diff)
parentb8e6e1492ed14e270b1061809b0569b8d2f4c0ec (diff)
Merge pull request #26 from nekernel-org/devv0.0.6
NeCTI: Update ReadMe and improve codebase.
Diffstat (limited to 'dev/LibC++')
-rw-r--r--dev/LibC++/__abi+unreachable.cc6
-rw-r--r--dev/LibC++/__abi.h6
-rw-r--r--dev/LibC++/base_alloc.h6
-rw-r--r--dev/LibC++/base_exception.h6
-rw-r--r--dev/LibC++/base_math.h6
-rw-r--r--dev/LibC++/base_process.h6
-rw-r--r--dev/LibC++/defines.h6
-rw-r--r--dev/LibC++/filesystem.h6
-rw-r--r--dev/LibC++/new.cc5
-rw-r--r--dev/LibC++/new.h12
-rw-r--r--dev/LibC++/utility.h6
11 files changed, 35 insertions, 36 deletions
diff --git a/dev/LibC++/__abi+unreachable.cc b/dev/LibC++/__abi+unreachable.cc
index 428b745..1fc9830 100644
--- a/dev/LibC++/__abi+unreachable.cc
+++ b/dev/LibC++/__abi+unreachable.cc
@@ -1,8 +1,8 @@
-/* -------------------------------------------
+/* ========================================
- Copyright (C) 2025 Amlal El Mahrouss, Licensed under Apache 2.0.
+ Copyright (C) 2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
-------------------------------------------- */
+======================================== */
#include <LibC++/__abi.h>
#include <LibC++/base_process.h>
diff --git a/dev/LibC++/__abi.h b/dev/LibC++/__abi.h
index 4e66d1a..d46a9ee 100644
--- a/dev/LibC++/__abi.h
+++ b/dev/LibC++/__abi.h
@@ -1,8 +1,8 @@
-/* -------------------------------------------
+/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under Apache 2.0.
+ Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
-------------------------------------------- */
+======================================== */
#pragma once
diff --git a/dev/LibC++/base_alloc.h b/dev/LibC++/base_alloc.h
index a322f7f..ea5b5b2 100644
--- a/dev/LibC++/base_alloc.h
+++ b/dev/LibC++/base_alloc.h
@@ -1,8 +1,8 @@
-/* -------------------------------------------
+/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under Apache 2.0.
+ Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
-------------------------------------------- */
+======================================== */
#pragma once
diff --git a/dev/LibC++/base_exception.h b/dev/LibC++/base_exception.h
index 6f48cd9..8747688 100644
--- a/dev/LibC++/base_exception.h
+++ b/dev/LibC++/base_exception.h
@@ -1,8 +1,8 @@
-/* -------------------------------------------
+/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under Apache 2.0.
+ Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
-------------------------------------------- */
+======================================== */
#pragma once
diff --git a/dev/LibC++/base_math.h b/dev/LibC++/base_math.h
index 70bfeba..73cb174 100644
--- a/dev/LibC++/base_math.h
+++ b/dev/LibC++/base_math.h
@@ -1,8 +1,8 @@
-/* -------------------------------------------
+/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under Apache 2.0.
+ Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
-------------------------------------------- */
+======================================== */
#pragma once
diff --git a/dev/LibC++/base_process.h b/dev/LibC++/base_process.h
index 8767aa7..abcbf08 100644
--- a/dev/LibC++/base_process.h
+++ b/dev/LibC++/base_process.h
@@ -1,8 +1,8 @@
-/* -------------------------------------------
+/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under Apache 2.0.
+ Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
-------------------------------------------- */
+======================================== */
#pragma once
diff --git a/dev/LibC++/defines.h b/dev/LibC++/defines.h
index 9eebbf1..e263d9c 100644
--- a/dev/LibC++/defines.h
+++ b/dev/LibC++/defines.h
@@ -1,8 +1,8 @@
-/* -------------------------------------------
+/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under Apache 2.0.
+ Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
-------------------------------------------- */
+======================================== */
#ifndef __NECTI_DEFINES_H__
#define __NECTI_DEFINES_H__
diff --git a/dev/LibC++/filesystem.h b/dev/LibC++/filesystem.h
index 0a1a39a..807ab0d 100644
--- a/dev/LibC++/filesystem.h
+++ b/dev/LibC++/filesystem.h
@@ -1,8 +1,8 @@
-/* -------------------------------------------
+/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under Apache 2.0.
+ Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
-------------------------------------------- */
+======================================== */
#ifndef __NECTI_FS_H__
#define __NECTI_FS_H__
diff --git a/dev/LibC++/new.cc b/dev/LibC++/new.cc
index 4882652..85ae82e 100644
--- a/dev/LibC++/new.cc
+++ b/dev/LibC++/new.cc
@@ -1,8 +1,7 @@
-/* -------------------------------------------
+/* ========================================
Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
-------------------------------------------- */
+======================================== */
#include <LibC++/new.h>
-
diff --git a/dev/LibC++/new.h b/dev/LibC++/new.h
index 3ac60d7..37e2a26 100644
--- a/dev/LibC++/new.h
+++ b/dev/LibC++/new.h
@@ -1,8 +1,8 @@
-/* -------------------------------------------
+/* ========================================
Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
-------------------------------------------- */
+======================================== */
#pragma once
@@ -21,10 +21,10 @@ struct nothrow_t {
/// =========================================================
/// @brief Placement new metadata.
/// =========================================================
-struct placement_new {
- void* __base;
- int __align;
- long long __size;
+struct placement_new final {
+ void* __base{};
+ int32_t __align{};
+ size_t __size{};
};
using placement_new_t = placement_new;
diff --git a/dev/LibC++/utility.h b/dev/LibC++/utility.h
index a10f2c2..62096f5 100644
--- a/dev/LibC++/utility.h
+++ b/dev/LibC++/utility.h
@@ -1,8 +1,8 @@
-/* -------------------------------------------
+/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under Apache 2.0.
+ Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
-------------------------------------------- */
+======================================== */
#ifndef LIBCXX_UTILITY_H
#define LIBCXX_UTILITY_H