diff options
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -79,18 +79,10 @@ typedef int Comparison; extern Opaque uAlloc(unsigned /* size */); extern Opaque uCalloc(unsigned /* n */ , unsigned /* size */); -extern Opaque uRealloc(Opaque /* old */ , - unsigned /* newSize */); -extern Opaque uRecalloc(Opaque /* old */ , - unsigned /* nOld */ , - unsigned /* nNew */ , - unsigned /* newSize */); extern void uFree(Opaque /* ptr */); #define uTypedAlloc(t) ((t *)uAlloc((unsigned)sizeof(t))) #define uTypedCalloc(n,t) ((t *)uCalloc((unsigned)n,(unsigned)sizeof(t))) -#define uTypedRealloc(pO,n,t) ((t *)uRealloc((Opaque)pO,((unsigned)n)*sizeof(t))) -#define uTypedRecalloc(pO,o,n,t) ((t *)uRecalloc((Opaque)pO,((unsigned)o),((unsigned)n),sizeof(t))) #if (defined mdHasAlloca) && (mdHasAlloca) #define uTmpAlloc(n) ((Opaque)alloca((unsigned)n)) #define uTmpFree(p) |