view lphobos/internal/mem.d @ 835:3afe9f276db7

Added back a bunch of static's to gen/classes.cpp, it's not superfluous, it makes the functions internal to the compilation unit, and we don't call them anywhere else.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Tue, 09 Dec 2008 02:07:24 +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);
}