std library hooks

Walter Bright newshound2 at digitalmars.com
Fri Apr 13 14:30:32 PDT 2012


On 4/13/2012 6:07 AM, Manu wrote:
> Awesome, I missed that. Although it sucks it's deprecated, what's the intended
> alternative?
>
> Now if I could only have more of those for malloc/free, and
> fopen/close/read/write/seek etc.

For a static library, you can hijack anything simply by providing your own 
implementation of it. The linker will prefer your version.


More information about the Digitalmars-d mailing list