summaryrefslogtreecommitdiffhomepage
path: root/include/GenericsLibrary/pstd.nhh
diff options
context:
space:
mode:
Diffstat (limited to 'include/GenericsLibrary/pstd.nhh')
-rw-r--r--include/GenericsLibrary/pstd.nhh17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/GenericsLibrary/pstd.nhh b/include/GenericsLibrary/pstd.nhh
new file mode 100644
index 0000000..5df5232
--- /dev/null
+++ b/include/GenericsLibrary/pstd.nhh
@@ -0,0 +1,17 @@
+// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/nekernel-org/nectar
+
+#pragma once
+
+extern __nrt_palloc;
+
+#define PALLOC_INVALID 0
+
+let palloc(let type, let sz, let align := 0)
+{
+ return __nrt_palloc(type, sz, align);
+}
+
+