From 011137bd4d5ef75cfb832f82a0cb47b06124a022 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 16 May 2013 15:19:22 +0000 Subject: 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 --- include/m_system_cpp.h | 6 +++--- include/m_utils.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'include') 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 MCBuf; -typedef mir_ptr MTBuf; -typedef mir_ptr MWBuf; +typedef mir_ptr ptrA; +typedef mir_ptr ptrT; +typedef mir_ptr 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 -- cgit v1.2.3