Mercurial > projects > ldc
view lphobos/internal/mem.d @ 414:ac1fcc138e42
Fixed issue with internal real representation, incorrect for non x86-32 architectures.
Cleaned up CallExp::toElem, moved implementation to tocall.cpp providing a single procedure to call arbitrary D functions fairly easily.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Mon, 28 Jul 2008 02:11:34 +0200 |
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); }