From f2d8ababda905068528b340345c74e7f56f6e364 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 17 Mar 2013 09:53:39 +0000 Subject: mir_wstrndup added, the Unicode version of mir_strndup git-svn-id: http://svn.miranda-ng.org/main/trunk@4066 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_core.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/m_core.h') diff --git a/include/m_core.h b/include/m_core.h index 220289995e..6baf15d32e 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -346,7 +346,9 @@ MIR_C_CORE_DLL(void) mir_free(void* ptr); MIR_CORE_DLL(char*) mir_strdup(const char* str); MIR_CORE_DLL(WCHAR*) mir_wstrdup(const WCHAR* str); + MIR_CORE_DLL(char*) mir_strndup(const char* str, size_t len); +MIR_CORE_DLL(WCHAR*) mir_wstrndup(const WCHAR *str, size_t len); /////////////////////////////////////////////////////////////////////////////// // modules -- cgit v1.2.3