On Sunday, 27 April 2014 at 02:15:59 UTC, Ali Çehreli wrote:
And if those functions are called from the library's own initialization and deinitialization functions, the C program need not know anything about the D runtime dependence:void mylib_init() { rt_init(0); // ... other initialization }
and what if user links two such libraries? ;-)