summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-09-01 15:17:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-09-01 15:17:39 +0000
commit1b9f36054bddeef87d4f9c139877d28c4e6b1702 (patch)
treed462cc03209954cf5d3c1172300c7645c0d19c3c /include
parent039db3b302a3f7a3e78f89e430c8cb83efb12b5e (diff)
- strdel()/strdelw() moved to the core;
- custom implementations removed git-svn-id: http://svn.miranda-ng.org/main/trunk@15135 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/m_core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/m_core.h b/include/m_core.h
index 8238d91b6d..02acf94b85 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -377,6 +377,9 @@ MIR_CORE_DLL(wchar_t*) ltrimw(wchar_t *str);
MIR_CORE_DLL(char*) ltrimp(char *str); // returns pointer to the trimmed portion of string
MIR_CORE_DLL(wchar_t*) ltrimpw(wchar_t *str);
+MIR_CORE_DLL(char*) strdel(char *str, size_t len);
+MIR_CORE_DLL(wchar_t*) strdelw(wchar_t *str, size_t len);
+
MIR_CORE_DLL(int) wildcmp(const char *name, const char *mask);
MIR_CORE_DLL(int) wildcmpw(const wchar_t *name, const wchar_t *mask);
@@ -442,6 +445,8 @@ typedef union {
#define ltrimt ltrimw
#define ltrimpt ltrimpw
+ #define strdelt strdelw
+
#define wildcmpt wildcmpw
#define wildcmpit wildcmpiw
@@ -480,6 +485,8 @@ typedef union {
#define ltrimt ltrim
#define ltrimpt ltrimp
+ #define strdelt strdel
+
#define wildcmpt wildcmp
#define wildcmpit wildcmpi