summaryrefslogtreecommitdiffhomepage
path: root/include/GenericsLibrary/start.nhh
blob: c678e7fbd09c8b636f0136393fe4ad3a70aeb029 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
}