summaryrefslogtreecommitdiff
path: root/include/m_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_core.h')
-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