summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_variables.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-21 13:16:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-21 13:16:56 +0000
commitdf14d39c07a22130218388e7ce421710580408be (patch)
tree28d7a38254000b8e6c0e6c7f87122ee0ac2fd7a4 /plugins/ExternalAPI/m_variables.h
parent1c44f2df0725c7673b0522121461337270cd47c6 (diff)
correct comments in headers
git-svn-id: http://svn.miranda-ng.org/main/trunk@3670 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI/m_variables.h')
-rw-r--r--plugins/ExternalAPI/m_variables.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/ExternalAPI/m_variables.h b/plugins/ExternalAPI/m_variables.h
index a352084b20..6e78025881 100644
--- a/plugins/ExternalAPI/m_variables.h
+++ b/plugins/ExternalAPI/m_variables.h
@@ -59,7 +59,7 @@
// ------------------------
// Returns a pointer to the resolved string or NULL in case of an error.
-// Note: The returned pointer needs to be freed using MS_VARS_FREEMEMORY.
+// Note: The returned pointer needs to be freed using mir_free().
typedef struct {
int cbSize; // Set this to sizeof(FORMATINFO).
@@ -107,7 +107,7 @@ typedef struct {
// Helper #1: variables_parse
// ------------------------
-// The returned string needs to be freed using MS_VARS_FREEMEMORY.
+// The returned string needs to be freed using mir_free.
#ifndef VARIABLES_NOHELPER
__inline static TCHAR *variables_parse(TCHAR *tszFormat, TCHAR *tszExtraText, HANDLE hContact) {
@@ -292,8 +292,6 @@ typedef struct {
// Available Memory Storage Types:
// These values describe which method Variables Plugin will use to free the
// buffer returned by the parse function or service
-#define TR_MEM_VARIABLES 1 // Memory is allocated using the functions
- // retrieved by MS_VARS_GET_MMI.
#define TR_MEM_MIRANDA 2 // Memory is allocated using Miranda's Memory
// Manager Interface (using the functions
// returned by MS_SYSTEM_GET_MMI), if
@@ -609,8 +607,7 @@ __inline static int variables_skin_helpbutton(HWND hwndDlg, UINT uIDButton) {
// The hContacts array of CONTACTSINFO struct contains these hContacts after
// the call.
-// Note: The hContacts array needs to be freed after use using
-// MS_VARS_FREEMEMORY.
+// Note: The hContacts array needs to be freed after use using mir_free
typedef struct {
int cbSize; // Set this to sizeof(CONTACTSINFO).