summaryrefslogtreecommitdiff
path: root/font_service/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'font_service/common.h')
-rw-r--r--font_service/common.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/font_service/common.h b/font_service/common.h
index ecc26bc..3696419 100644
--- a/font_service/common.h
+++ b/font_service/common.h
@@ -49,19 +49,6 @@ extern HANDLE hFontReloadEvent, hColourReloadEvent;
extern struct MM_INTERFACE memoryManagerInterface;
-#define mir_alloc(n) memoryManagerInterface.mmi_malloc(n)
-#define mir_free(ptr) memoryManagerInterface.mmi_free(ptr)
-#define mir_realloc(ptr,size) memoryManagerInterface.mmi_realloc(ptr,size)
-
-__inline char * mir_strdup(const char * src)
-{
- char * p = 0;
- if ( src == NULL ) return NULL;
- p=(char *)mir_alloc( strlen(src)+1 );
- strcpy(p, src);
- return p;
-}
-
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.