summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 14:55:52 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 14:55:52 +0000
commitec0c8066c6ecfbc5e56c453c59527661ec439d20 (patch)
tree787739b3b2505bbb93f7fb4c761d6d2b5536f96e
parent0bab78f82f7ae76891859c8707fc31d65935fc73 (diff)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@21 4f64403b-2f21-0410-a795-97e2b3489a10
-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.