Differences From Artifact [8d98b81c5616ea88]:
- File
src/util.d
- 2012-07-14 09:16:47 - part of checkin [6293256fec] on branch trunk - Preparing for submission... (user: kinaba) [annotate]
- File
util.d
- 2012-07-14 04:39:21 - part of checkin [4d8c31f393] on branch trunk - Add standard D-lang util. (user: kinaba) [annotate]
To Artifact [783554bf667412ed]:
- File
src/util.d
- 2012-07-14 11:24:30 - part of checkin [bee0596f0f] on branch trunk - Refactoring. (user: kinaba) [annotate]
1 1 public import std.algorithm;
2 2 public import std.array;
3 3 public import std.conv;
4 4 public import std.range;
5 5 public import std.stdio;
6 6 public import std.string;
7 7 public import std.typecons;
8 +import std.c.stdlib;
9 +
10 +void application_exit()
11 +{
12 + std.c.stdlib.exit(0);
13 +}
8 14
9 15 template DeriveCreate()
10 16 {
11 17 this(TS...)(TS params)
12 18 {
13 19 this.tupleof = params;
14 20 }