summaryrefslogtreecommitdiffhomepage
path: root/dev/LibC++/new.h
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++/new.h
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++/new.h')
-rw-r--r--dev/LibC++/new.h12
1 files changed, 6 insertions, 6 deletions
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;