summaryrefslogtreecommitdiff
path: root/plugins/Variables/variables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables/variables.cpp')
-rw-r--r--plugins/Variables/variables.cpp18
1 files changed, 0 insertions, 18 deletions
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;