diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-17 09:53:39 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-17 09:53:39 +0000 |
commit | f2d8ababda905068528b340345c74e7f56f6e364 (patch) | |
tree | 62c40545a74832622ee1f7edef7faaa4ff118a3d /include/m_core.h | |
parent | bb18d3cc1394e374f3a064ef7eadf9fed5af35de (diff) |
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
Diffstat (limited to 'include/m_core.h')
-rw-r--r-- | include/m_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
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
|