view lphobos/internal/mem.d @ 1065:dc576c7e4b1e

Fix to make sure to create gen/ in build dir and unbreak build with older perl
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 08 Mar 2009 16:37:55 +0100
parents 4648206ca213
children
line wrap: on
line source

module internal.mem;

extern(C):

void* realloc(void*,size_t);
void free(void*);

void* _d_realloc(void* ptr, size_t n)
{
    return realloc(ptr, n);
}

void _d_free(void* ptr)
{
    free(ptr);
}