diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-27 00:31:56 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-27 00:31:56 +0100 |
| commit | fe99a16c6d125186a08ce8a45b74684df24692f5 (patch) | |
| tree | e66da57aae448d672d54c491feec65e5e5826229 | |
| parent | e064323880b119db8e743b210200cf38da149d02 (diff) | |
[FEAT] Rework and moved nrt.nc to start.nhh.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
| -rw-r--r-- | include/GenericsLibrary/start.nhh (renamed from include/GenericsLibrary/nrt.nc) | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/GenericsLibrary/nrt.nc b/include/GenericsLibrary/start.nhh index 0a62d81..c678e7f 100644 --- a/include/GenericsLibrary/nrt.nc +++ b/include/GenericsLibrary/start.nhh @@ -4,12 +4,16 @@ // file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) // Official repository: https://github.com/ne-foss-org/nectar -import main; +#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(); + return main(argc, argv); } |
