Clutter GObject bindings

2012-01-27 Thread Sparse Push
What is the best way to generate GObject bindings? I ask this because I would like to use Clutter (http://www.clutter-project.org/) in my D program and I don't think it has D bindings already. Thanks

Re: inout constructor?

2012-01-27 Thread Steven Schveighoffer
On Fri, 27 Jan 2012 08:05:24 -0500, Stewart Gordon wrote: On 26/01/2012 15:27, Steven Schveighoffer wrote: auto tsm = TestStruct(&xm); auto tsc = TestStruct(&xc); auto tsi = TestStruct(&xi); writeln(typeof(tsm).stringof); // TestStruct writeln(typeof(tsc).stringof); // const(TestStruct) wr

Re: inout constructor?

2012-01-27 Thread Stewart Gordon
On 26/01/2012 15:27, Steven Schveighoffer wrote: auto tsm = TestStruct(&xm); auto tsc = TestStruct(&xc); auto tsi = TestStruct(&xi); writeln(typeof(tsm).stringof); // TestStruct writeln(typeof(tsc).stringof); // const(TestStruct) writeln(typeof(tsi).stringof); // immutable(TestStruct) To actu

Re: GC and void*

2012-01-27 Thread Daniel Murphy
Have you looked at std.variant? It sounds like what you're looking for.

Re: dmd & gdc

2012-01-27 Thread Don Clugston
On 26/01/12 18:59, xancorreu wrote: Al 26/01/12 18:43, En/na H. S. Teoh ha escrit: On Thu, Jan 26, 2012 at 06:06:38PM +0100, xancorreu wrote: [...] I note that gdc is completely free software but dmd runtime is not. You mean free as in freedom, not as in price. Yes, both I don't what that