summaryrefslogtreecommitdiffhomepage
path: root/include/GenericsLibrary
diff options
context:
space:
mode:
Diffstat (limited to 'include/GenericsLibrary')
-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);
}