From 25221b7d2afb70f82eb3805330fd39a6f6708049 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jun 2012 23:41:55 +0000 Subject: mk: removed all LIST_INTERFACE, MI_INTERFACE & UTF8_INTERFACE instances. all related functions moved to mir_core. git-svn-id: http://svn.miranda-ng.org/main/trunk@644 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/variables.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'plugins/Variables/variables.cpp') diff --git a/plugins/Variables/variables.cpp b/plugins/Variables/variables.cpp index 26190fb779..acc5f90a26 100644 --- a/plugins/Variables/variables.cpp +++ b/plugins/Variables/variables.cpp @@ -534,23 +534,6 @@ static INT_PTR freeMemory(WPARAM wParam, LPARAM lParam) { return 0; } -/* - MS_VARS_GET_MMI - this code is copied from Miranda's core (miranda.c) -*/ -INT_PTR getMemoryManagerInterface(WPARAM wParam, LPARAM lParam) { - - struct MM_INTERFACE *mmi = (struct MM_INTERFACE*) lParam; - if (mmi || mmi->cbSize == sizeof(struct MM_INTERFACE)) - { - mmi->mmi_malloc = malloc; - mmi->mmi_realloc = realloc; - mmi->mmi_free = free; - return 0; - } - return 1; -} - int setParseOptions(struct ParseOptions *po) { if (po == NULL) { @@ -580,7 +563,6 @@ int LoadVarModule() { hFormatStringService = CreateServiceFunction(MS_VARS_FORMATSTRING, formatStringService); hFreeMemoryService = CreateServiceFunction(MS_VARS_FREEMEMORY, freeMemory); hRegisterVariableService = CreateServiceFunction(MS_VARS_REGISTERTOKEN, registerToken); - hGetMMIService = CreateServiceFunction(MS_VARS_GET_MMI, getMemoryManagerInterface); // help dialog hCurSplitNS = LoadCursor(NULL, IDC_SIZENS); hUxTheme = NULL; -- cgit v1.2.3