how to call std_stdio_static_this from a dynamically loaded shared library (osx)

timotheecour thelastmammoth at gmail.com
Thu Oct 4 11:13:09 PDT 2012


> If you're developing a library or similar you could have a 
> requirement that the user need to call "Library.initialize()" 
> before use. But of course, that's something anyone would like 
> to avoid.

I'm fine with that (and already doing this, to call 
Runtime.initialize), but that doesn't solve the issue of this 
thread.

> You can write this instead:
> void std_stdio_static_this2 () ()

Thanks! I didn't know that.


More information about the Digitalmars-d-learn mailing list