June 01, 2011
Branch: refs/heads/phobos-1.x
Home:   https://github.com/D-Programming-Language/phobos

Commit: 7013d0c6e686b5984be8792e48ef84aa4b8190e1
    https://github.com/D-Programming-Language/phobos/commit/7013d0c6e686b5984be8792e48ef84aa4b8190e1
Author: Jakob Bornecrantz <wallbraker at gmail.com>
Date:   2011-05-31 (Tue, 31 May 2011)

Changed paths:
  M internal/dmain2.d

Log Message:
-----------
Add _d_run_main to give applications more control at start

This allows a application to supply its own main function that gets run before any D code is run, allowing it to setup external dependancies that might be tricky to do from static contructors. GDC has been shipping with something similar sing a long time so its not especially new or original, the code is compatible.

This is especially usefull for Mac OSX where in order to use Obj-C code you need to setup various bits of things like a memory pool.

Signed-off-by: Jakob Bornecrantz <wallbraker at gmail.com>


Commit: 4752dd9a02295eaf3a57561954b039bb17e23803
    https://github.com/D-Programming-Language/phobos/commit/4752dd9a02295eaf3a57561954b039bb17e23803
Author: Andrei Alexandrescu <andrei at erdani.com>
Date:   2011-06-01 (Wed, 01 Jun 2011)

Changed paths:
  M internal/dmain2.d

Log Message:
-----------
Merge pull request #69 from Wallbraker/_d_run_main

Add _d_run_main to give applications more control at start


Compare: https://github.com/D-Programming-Language/phobos/compare/907229e...4752dd9