summaryrefslogtreecommitdiff
path: root/include/m_system_cpp.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-05-16 15:08:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-05-16 15:08:49 +0000
commit2e4abd268c71f15bcf73c49a5005f128ffd8ee96 (patch)
tree92624c24bafa4a02eb7e7fd2501a988e385ffab3 /include/m_system_cpp.h
parent769714b0aa9606e0d94a9d88c7c3ee3064792e4a (diff)
shortened typedefs for string buffers:
MCBuf -> mir_ptr<char> MTBuf -> mir_ptr<TCHAR> MWBuf -> mir_ptr<WCHAR> git-svn-id: http://svn.miranda-ng.org/main/trunk@4680 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_system_cpp.h')
-rw-r--r--include/m_system_cpp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/m_system_cpp.h b/include/m_system_cpp.h
index 600eefe01f..933b416e85 100644
--- a/include/m_system_cpp.h
+++ b/include/m_system_cpp.h
@@ -53,6 +53,10 @@ public:
__inline operator INT_PTR() const { return (INT_PTR)data; }
};
+typedef mir_ptr<char> MCBuf;
+typedef mir_ptr<TCHAR> MTBuf;
+typedef mir_ptr<WCHAR> MWBuf;
+
///////////////////////////////////////////////////////////////////////////////
// mir_cslock - simple locker for the critical sections