From 1b9f36054bddeef87d4f9c139877d28c4e6b1702 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 1 Sep 2015 15:17:39 +0000 Subject: - 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 --- include/m_core.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') 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 -- cgit v1.2.3