2 // An overload of gtk.init() that works with D strings.
3 // Unlike the original, it does not need to modify the inputs.
4 // Returns a new string array (that can be assigned to the argv
5 // array in the caller).
7 string
[] init()(string argv
[]) {
8 int argc
= argv
.length
;
9 auto c_argv
= argvToC(argv
);
11 return argvFromC(argc
, c_argv
);