summaryrefslogtreecommitdiff
path: root/include/m_core.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-11-30 20:25:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-11-30 20:25:58 +0000
commitce2d4f19e3f810b282eb7d47d470d426ff459e1f (patch)
treea49f3e9dd42399756b2ce33a3d91caec535b77ab /include/m_core.h
parent1bb83288c063ce1864e46f6f675751c8c631b530 (diff)
mir_strcmp, mir_strcmpi, mir_wstrcmp, mir_wstrcmpi
git-svn-id: http://svn.miranda-ng.org/main/trunk@11179 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_core.h')
-rw-r--r--include/m_core.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/m_core.h b/include/m_core.h
index 57bffb68ff..407a00580b 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -588,6 +588,12 @@ MIR_CORE_DLL(wchar_t*) mir_wstrcat(wchar_t *dest, const wchar_t *src);
MIR_CORE_DLL(char*) mir_strncat(char *dest, const char *src, size_t len);
MIR_CORE_DLL(wchar_t*) mir_wstrncat(wchar_t *dest, const wchar_t *src, size_t len);
+MIR_CORE_DLL(int) mir_strcmp(const char *p1, const char *p2);
+MIR_CORE_DLL(int) mir_wstrcmp(const wchar_t *p1, const wchar_t *p2);
+
+MIR_CORE_DLL(int) mir_strcmpi(const char *p1, const char *p2);
+MIR_CORE_DLL(int) mir_wstrcmpi(const wchar_t *p1, const wchar_t *p2);
+
MIR_CORE_DLL(char*) mir_strdup(const char* str);
MIR_CORE_DLL(wchar_t*) mir_wstrdup(const wchar_t* str);
@@ -771,6 +777,8 @@ __forceinline char* lrtrimp(char *str) { return ltrimp(rtrim(str)); };
#define mir_tstrncpy mir_wstrncpy
#define mir_tstrcat mir_wstrcat
#define mir_tstrncat mir_wstrncat
+ #define mir_tstrcmp mir_wstrcmp
+ #define mir_tstrcmpi mir_wstrcmpi
#define mir_tstrdup mir_wstrdup
#define mir_tstrndup mir_wstrndup
@@ -805,6 +813,8 @@ __forceinline char* lrtrimp(char *str) { return ltrimp(rtrim(str)); };
#define mir_tstrncpy mir_strncpy
#define mir_tstrcat mir_strcat
#define mir_tstrncat mir_strncat
+ #define mir_tstrcmp mir_strcmp
+ #define mir_tstrcmpi mir_strcmpi
#define mir_tstrdup mir_strdup
#define mir_tstrndup mir_strndup