comparison qt/QGlobal.d.inc @ 188:7dd099050621

initial commit for D2 support
author eldar
date Sun, 12 Jul 2009 18:58:03 +0000
parents d5af7c48b733
children a212c97edcd2
comparison
equal deleted inserted replaced
187:34fe79a9915b 188:7dd099050621
7 import tango.io.Stdout; 7 import tango.io.Stdout;
8 void writeln(string s) 8 void writeln(string s)
9 { 9 {
10 Stdout(s).newline; 10 Stdout(s).newline;
11 } 11 }
12 package import tango.stdc.stdlib,
13 tango.core.Memory;
12 } 14 }
13 else 15 else
16 {
14 import std.stdio; 17 import std.stdio;
18 package import std.c.stdlib,
19 core.memory;
20 }
15 21
16 template QT_BEGIN_NAMESPACE() { 22 template QT_BEGIN_NAMESPACE() {
17 } 23 }
18 24
19 template QT_END_NAMESPACE() { 25 template QT_END_NAMESPACE() {