summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/mir_string.h
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2014-12-27 05:56:38 +0000
committerRené Schümann <white06tiger@gmail.com>2014-12-27 05:56:38 +0000
commit6d6b16c8591d375a4a4a2db1ebfb307116df3fd0 (patch)
tree0570f547e024d1992847e11616086b8fff7b6156 /plugins/SendScreenshotPlus/src/mir_string.h
parent6ffc309d05545fe59bdca2b061b605e1dd63c664 (diff)
SendSS:
- cleaned up our mir_string stuff and removed lots of custom implementations as we use those of NG core now (couldn't get rid of mir_string though.. we still use some custom stuff) git-svn-id: http://svn.miranda-ng.org/main/trunk@11650 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/mir_string.h')
-rw-r--r--plugins/SendScreenshotPlus/src/mir_string.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/plugins/SendScreenshotPlus/src/mir_string.h b/plugins/SendScreenshotPlus/src/mir_string.h
index d5c33fe1a3..d813c79a49 100644
--- a/plugins/SendScreenshotPlus/src/mir_string.h
+++ b/plugins/SendScreenshotPlus/src/mir_string.h
@@ -28,23 +28,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef _MIR_STRING_H_INCLUDED_
#define _MIR_STRING_H_INCLUDED_
-#define mir_tcslen mir_wcslen
-#define mir_tcsadd mir_wcsadd
-#define mir_tcsncpy mir_wcsncpy
-#define mir_tcsncat mir_wcsncat
-#define mir_tstrdup mir_wstrdup
-
-#define mir_strlen(s) (((s)!=0)?strlen(s):0)
-#define mir_strcpy(d,s) (((s)!=0&&(d)!=0)?strcpy(d,s):0)
-
-#define mir_wcslen(s) (((s)!=0)?wcslen(s):0)
-
#define mir_freeAndNil(ptr) mir_free(ptr),ptr=NULL
-
-wchar_t* mir_wcsncpy(wchar_t* pszDest, const wchar_t* pszSrc, const size_t cchDest);
-wchar_t* mir_wcsncat(wchar_t* pszDest, const wchar_t* pszSrc, const size_t cchDest);
-
-void mir_stradd(char* &pszDest, const char* pszSrc);
-void mir_wcsadd(wchar_t* &pszDest, const wchar_t* pszSrc);
+void mir_stradd(char* &pszDest, const char* pszSrc);
+void mir_wstradd(wchar_t* &pszDest, const wchar_t* pszSrc);
+#define mir_tstradd mir_wstradd
#endif /* _MIR_STRING_H_INCLUDED_ */