Re: _Dmodule_ref question
On 5 February 2012 10:28, Johannes Pfau wrote: > > Is there a reason why _Dmodule_ref can't be defined in a d source file? > - > module test; > > extern(C) > { > void* _Dmodule_ref = null; > int printf(in char* format, ...); > > void main() > { > printf("Hell
_Dmodule_ref question
Is there a reason why _Dmodule_ref can't be defined in a d source file? - module test; extern(C) { void* _Dmodule_ref = null; int printf(in char* format, ...); void main() { printf("Hello, %s!".ptr, "no runtime".ptr); } } -- do