diff options
author | George Hazan <ghazan@miranda.im> | 2021-04-23 18:34:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-04-23 18:34:28 +0300 |
commit | 8318809aa0961802fd12438330051d3ba91eb6c4 (patch) | |
tree | c5557112a1a8706dda02949495b74c77ef18194e /src | |
parent | 2b49ffbabfb41a50a764cf666f9de226e89da856 (diff) |
fix for function prototypes
Diffstat (limited to 'src')
-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 |
3 files changed, 9 insertions, 9 deletions
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
|