summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-05-16 15:19:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-05-16 15:19:22 +0000
commit011137bd4d5ef75cfb832f82a0cb47b06124a022 (patch)
treeb074d2b22acbc4eac3c39e01c4842a5f908c2c3f /include
parentfa02e76e325bfec6ca2737fcb086cab4e3de3cba (diff)
words of wisdom were well received
now the shortened types are called ptrA, ptrT & ptrW respectively git-svn-id: http://svn.miranda-ng.org/main/trunk@4682 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/m_system_cpp.h6
-rw-r--r--include/m_utils.h8
2 files changed, 7 insertions, 7 deletions
diff --git a/include/m_system_cpp.h b/include/m_system_cpp.h
index 933b416e85..211d434da8 100644
--- a/include/m_system_cpp.h
+++ b/include/m_system_cpp.h
@@ -53,9 +53,9 @@ 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;
+typedef mir_ptr<char> ptrA;
+typedef mir_ptr<TCHAR> ptrT;
+typedef mir_ptr<WCHAR> ptrW;
///////////////////////////////////////////////////////////////////////////////
// mir_cslock - simple locker for the critical sections
diff --git a/include/m_utils.h b/include/m_utils.h
index c738cb924e..17640c6d32 100644
--- a/include/m_utils.h
+++ b/include/m_utils.h
@@ -428,17 +428,17 @@ __forceinline TCHAR* Utils_ReplaceVarsT(const TCHAR *szData) {
#include "m_system_cpp.h"
#endif
- struct VARS : public MCBuf
+ struct VARS : public ptrA
{
__forceinline VARS(const char *str) :
- MCBuf( Utils_ReplaceVars(str))
+ ptrA( Utils_ReplaceVars(str))
{}
};
- struct VARST : public MTBuf
+ struct VARST : public ptrT
{
__forceinline VARST(const TCHAR *str) :
- MTBuf( Utils_ReplaceVarsT(str))
+ ptrT( Utils_ReplaceVarsT(str))
{}
};
#endif