diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/m_system_cpp.h | 6 | ||||
-rw-r--r-- | include/m_utils.h | 8 |
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
|