From fb23cd2e26163da34e541b64f5cfd6168ce32840 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 21 Oct 1994 17:00:12 -0200 Subject: deletion of 'include mm.h' --- mm.h | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 mm.h (limited to 'mm.h') diff --git a/mm.h b/mm.h deleted file mode 100644 index 40fdf84d..00000000 --- a/mm.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -** mm.h -** Waldemar Celes Filho -** Sep 16, 1992 -*/ - - -#ifndef mm_h -#define mm_h - -#include - -#ifdef _MM_ - -/* switch off the debugger functions */ -#define malloc(s) MmMalloc(s,__FILE__,__LINE__) -#define calloc(n,s) MmCalloc(n,s,__FILE__,__LINE__) -#define realloc(a,s) MmRealloc(a,s,__FILE__,__LINE__,#a) -#define free(a) MmFree(a,__FILE__,__LINE__,#a) -#define strdup(s) MmStrdup(s,__FILE__,__LINE__) -#endif - -typedef void (*Ferror) (char *); - -/* Exported functions */ -void MmInit (Ferror f, Ferror w); -void *MmMalloc (unsigned size, char *file, int line); -void *MmCalloc (unsigned n, unsigned size, char *file, int line); -void MmFree (void *a, char *file, int line, char *var); -void *MmRealloc (void *old, unsigned size, char *file, int line, char *var); -char *MmStrdup (char *s, char *file, int line); -unsigned MmGetBytes (void); -void MmListAllocated (void); -void MmCheck (void); -void MmStatistics (void); - - -#endif - -- cgit v1.2.3-55-g6feb