On 12/03/2012 15:38, Steven Schveighoffer wrote: <snip>
http://dlang.org/phobos/core_runtime.html#initializeAnd actually, I think this should do everything necessary. No need to call gc_init and thread_attachThis().Hm... just realized you can't do this, since it's a D function :D
Why can't this be dealt with using an extern (C) wrapper function in the D code? Stewart.