std library hooks

Manu turkeyman at gmail.com
Sat Apr 14 03:51:58 PDT 2012


On 14 April 2012 00:30, Walter Bright <newshound2 at digitalmars.com> wrote:

> 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.
>

The druntime versions are marked weak? And that also works with GDC?
I'll give that a shot, cheers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120414/b0147a20/attachment.html>


More information about the Digitalmars-d mailing list