shared libs for OSX

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Wed May 27 06:33:21 PDT 2015


On Tuesday, 26 May 2015 at 16:25:52 UTC, bitwise wrote:
> Since all global functions and symbols are shared between 
> images anyways, receiving the callback in the main image would 
> be fine. So in this case, unregistering the callbacks is no 
> longer needed.

That only works when the host executable is linked against 
druntime, but falls when you load runtime dynamically, e.g. a D 
plugin for a C host.


More information about the Digitalmars-d mailing list