prolog and epilog code

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 2 10:26:27 PDT 2016


On Tuesday, 2 August 2016 at 17:23:57 UTC, Adam D. Ruppe wrote:
> _d_run_main is extern(C), not just extern. Then your code 
> should work.

Also, you don't actually have to rt_init and rt_term if you do 
_d_run_main because it does it for you...


More information about the Digitalmars-d-learn mailing list