The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
358 B
18 lines
358 B
extern "C" int rt_init(); |
|
extern "C" int rt_term(); |
|
extern void print_hello(int i); |
|
|
|
int main(int, char**) { |
|
// initialize D runtime |
|
if (!rt_init()) |
|
return 1; |
|
|
|
print_hello(1); |
|
|
|
// terminate D runtime, each initialize call |
|
// must be paired with a terminate call. |
|
if (!rt_term()) |
|
return 1; |
|
|
|
return 0; |
|
}
|
|
|