On Thursday, 27 September 2018 at 21:41:31 UTC, H. S. Teoh wrote:
Though I'm not sure what will happen if your C program tries loading two or more D libraries that use this trick... is rt_init() idempotent?
It just refcounts itself.
Adam D. Ruppe via Digitalmars-d-learn Thu, 27 Sep 2018 14:50:38 -0700
On Thursday, 27 September 2018 at 21:41:31 UTC, H. S. Teoh wrote:
Though I'm not sure what will happen if your C program tries loading two or more D libraries that use this trick... is rt_init() idempotent?
It just refcounts itself.