diff options
-rw-r--r-- | include/m_system.h | 6 | ||||
-rw-r--r-- | libs/win32/mir_core.lib | bin | 475218 -> 475218 bytes | |||
-rw-r--r-- | libs/win64/mir_core.lib | bin | 480318 -> 480318 bytes | |||
-rw-r--r-- | src/mir_core/src/binbuffer.cpp | 6 | ||||
-rw-r--r-- | src/mir_core/src/mir_core.def | 6 | ||||
-rw-r--r-- | src/mir_core/src/mir_core64.def | 6 |
6 files changed, 12 insertions, 12 deletions
diff --git a/include/m_system.h b/include/m_system.h index e4b7e865b5..73b0544554 100644 --- a/include/m_system.h +++ b/include/m_system.h @@ -482,13 +482,13 @@ public: __forceinline size_t length() const { return m_len; }
// adds a buffer to the end
- void append(void *pBuf, size_t bufLen);
+ void append(const void *pBuf, size_t bufLen);
// adds a buffer to the beginning
- void appendBefore(void *pBuf, size_t bufLen);
+ void appendBefore(const void *pBuf, size_t bufLen);
// replaces buffer contents
- void assign(void *pBuf, size_t bufLen);
+ void assign(const void *pBuf, size_t bufLen);
// drops a part of buffer
void remove(size_t sz);
diff --git a/libs/win32/mir_core.lib b/libs/win32/mir_core.lib Binary files differindex 700387b3e0..e6c0078677 100644 --- a/libs/win32/mir_core.lib +++ b/libs/win32/mir_core.lib diff --git a/libs/win64/mir_core.lib b/libs/win64/mir_core.lib Binary files differindex cc69bf62f7..e4012645a0 100644 --- a/libs/win64/mir_core.lib +++ b/libs/win64/mir_core.lib diff --git a/src/mir_core/src/binbuffer.cpp b/src/mir_core/src/binbuffer.cpp index 662c530ed5..659e4c9eaa 100644 --- a/src/mir_core/src/binbuffer.cpp +++ b/src/mir_core/src/binbuffer.cpp @@ -28,7 +28,7 @@ MBinBuffer::~MBinBuffer() mir_free(m_buf); } -void MBinBuffer::append(void *pBuf, size_t bufLen) +void MBinBuffer::append(const void *pBuf, size_t bufLen) { if (pBuf == nullptr || bufLen == 0) return; @@ -41,7 +41,7 @@ void MBinBuffer::append(void *pBuf, size_t bufLen) else m_len = 0; } -void MBinBuffer::appendBefore(void *pBuf, size_t bufLen) +void MBinBuffer::appendBefore(const void *pBuf, size_t bufLen) { if (pBuf == nullptr || bufLen == 0) return; @@ -55,7 +55,7 @@ void MBinBuffer::appendBefore(void *pBuf, size_t bufLen) else m_len = 0; } -void MBinBuffer::assign(void *pBuf, size_t bufLen) +void MBinBuffer::assign(const void *pBuf, size_t bufLen) { if (pBuf == nullptr || bufLen == 0) return; diff --git a/src/mir_core/src/mir_core.def b/src/mir_core/src/mir_core.def index 594ecb68c0..29d9d1c2dd 100644 --- a/src/mir_core/src/mir_core.def +++ b/src/mir_core/src/mir_core.def @@ -989,8 +989,8 @@ CallFunctionSync @1170 ??0MBinBuffer@@QAE@XZ @1206 NONAME
??1MBinBuffer@@QAE@XZ @1207 NONAME
??4MBinBuffer@@QAEAAV0@ABV0@@Z @1208 NONAME
-?append@MBinBuffer@@QAEXPAXI@Z @1209 NONAME
-?appendBefore@MBinBuffer@@QAEXPAXI@Z @1210 NONAME
+?append@MBinBuffer@@QAEXPBXI@Z @1209 NONAME
+?appendBefore@MBinBuffer@@QAEXPBXI@Z @1210 NONAME
?data@MBinBuffer@@QBEPADXZ @1211 NONAME
?isEmpty@MBinBuffer@@QBE_NXZ @1212 NONAME
?length@MBinBuffer@@QBEIXZ @1213 NONAME
@@ -1444,7 +1444,7 @@ XmlGetChildText @1645 ?Unsigned64Text@XMLElement@tinyxml2@@QBE_K_K@Z @1665 NONAME
?Unsigned64Value@XMLAttribute@tinyxml2@@QBE_KXZ @1666 NONAME
?RemoveControl@CDlgBase@@IAEXPAVCCtrlBase@@@Z @1667 NONAME
-?assign@MBinBuffer@@QAEXPAXI@Z @1668 NONAME
+?assign@MBinBuffer@@QAEXPBXI@Z @1668 NONAME
?GetHwnd@CTimer@@QBEPAUHWND__@@XZ @1669 NONAME
??0MNonCopyable@@QAE@XZ @1670 NONAME
??0mir_cs@@QAE@XZ @1671 NONAME
diff --git a/src/mir_core/src/mir_core64.def b/src/mir_core/src/mir_core64.def index 658b27f538..20f21631fb 100644 --- a/src/mir_core/src/mir_core64.def +++ b/src/mir_core/src/mir_core64.def @@ -989,8 +989,8 @@ CallFunctionSync @1170 ??0MBinBuffer@@QEAA@XZ @1206 NONAME
??1MBinBuffer@@QEAA@XZ @1207 NONAME
??4MBinBuffer@@QEAAAEAV0@AEBV0@@Z @1208 NONAME
-?append@MBinBuffer@@QEAAXPEAX_K@Z @1209 NONAME
-?appendBefore@MBinBuffer@@QEAAXPEAX_K@Z @1210 NONAME
+?append@MBinBuffer@@QEAAXPEBX_K@Z @1209 NONAME
+?appendBefore@MBinBuffer@@QEAAXPEBX_K@Z @1210 NONAME
?data@MBinBuffer@@QEBAPEADXZ @1211 NONAME
?isEmpty@MBinBuffer@@QEBA_NXZ @1212 NONAME
?length@MBinBuffer@@QEBA_KXZ @1213 NONAME
@@ -1444,7 +1444,7 @@ XmlGetChildText @1645 ?Unsigned64Text@XMLElement@tinyxml2@@QEBA_K_K@Z @1665 NONAME
?Unsigned64Value@XMLAttribute@tinyxml2@@QEBA_KXZ @1666 NONAME
?RemoveControl@CDlgBase@@IEAAXPEAVCCtrlBase@@@Z @1667 NONAME
-?assign@MBinBuffer@@QEAAXPEAX_K@Z @1668 NONAME
+?assign@MBinBuffer@@QEAAXPEBX_K@Z @1668 NONAME
?GetHwnd@CTimer@@QEBAPEAUHWND__@@XZ @1669 NONAME
??0MNonCopyable@@QEAA@XZ @1670 NONAME
??0mir_cs@@QEAA@XZ @1671 NONAME
|