summaryrefslogtreecommitdiffhomepage
path: root/include/GenericsLibrary/start.nhh
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-27 00:31:56 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-27 00:31:56 +0100
commitfe99a16c6d125186a08ce8a45b74684df24692f5 (patch)
treee66da57aae448d672d54c491feec65e5e5826229 /include/GenericsLibrary/start.nhh
parente064323880b119db8e743b210200cf38da149d02 (diff)
[FEAT] Rework and moved nrt.nc to start.nhh.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/GenericsLibrary/start.nhh')
-rw-r--r--include/GenericsLibrary/start.nhh19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/GenericsLibrary/start.nhh b/include/GenericsLibrary/start.nhh
new file mode 100644
index 0000000..c678e7f
--- /dev/null
+++ b/include/GenericsLibrary/start.nhh
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: Apache-2.0
+// 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/ne-foss-org/nectar
+
+#pragma once
+
+extern main;
+import argc;
+import argv;
+
+//@ The main entrypoint is an external symbol defined by the user program.
+//@ You may also define it as a library and then write your own main wrapper over it.
+let _start()
+{
+ return main(argc, argv);
+}
+