Mercurial > projects > ldc
comparison lphobos/std/c/stdlib.d @ 94:61615fa85940 trunk
[svn r98] Added support for std.c.stdlib.alloca via pragma(LLVM_internal, "alloca").
Added support for array .sort and .reverse properties.
Fixed some bugs with pointer arithmetic.
Disabled some DMD AST optimizations that was messing things up, destroying valuable information.
Added a KDevelop project file, this is what I use for coding LLVMDC now :)
Other minor stuff.
author | lindquist |
---|---|
date | Mon, 12 Nov 2007 06:32:46 +0100 |
parents | c53b6e3fe49a |
children | 373489eeaf90 |
comparison
equal
deleted
inserted
replaced
93:08508eebbb3e | 94:61615fa85940 |
---|---|
40 void exit(int); /// ditto | 40 void exit(int); /// ditto |
41 void _exit(int); /// ditto | 41 void _exit(int); /// ditto |
42 | 42 |
43 int system(char *); | 43 int system(char *); |
44 | 44 |
45 pragma(LLVM_internal, "alloca") | |
45 void *alloca(uint); /// | 46 void *alloca(uint); /// |
46 | 47 |
47 void *calloc(size_t, size_t); /// | 48 void *calloc(size_t, size_t); /// |
48 void *malloc(size_t); /// ditto | 49 void *malloc(size_t); /// ditto |
49 void *realloc(void *, size_t); /// ditto | 50 void *realloc(void *, size_t); /// ditto |