On Wednesday, 8 January 2014 at 00:32:56 UTC, Manu wrote:
It didn't work for me. Said it was deprecated... and to use
rt_init().
Huh, the message I got is:
winmain.d(13): Deprecation: function
core.runtime.Runtime.initialize is deprecated - Please use the
overload of Runtime.initialize that takes no argument.
Maybe different dmd versions. Oh well.
Is there a difference?
The source tells:
static bool initialize()
{
return !!rt_init();
}
/// C interface for Runtime.initialize, returns 1/0 instead of
bool
extern(C) int rt_init();
So no real difference.
Why do Runtime.initialize() AND rt_init() both exist?
idk