Changeset 85121 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Jul 8, 2020 7:33:26 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139061
- Location:
- trunk/src/VBox/Runtime/r3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/init.cpp
r82968 r85121 151 151 * termination callback chain. 152 152 */ 153 static void rtR3ExitCallback(void) 153 static void rtR3ExitCallback(void) RT_NOTHROW_DEF 154 154 { 155 155 ASMAtomicWriteBool(&g_frtAtExitCalled, true); -
trunk/src/VBox/Runtime/r3/win/internal-r3-win.h
r82968 r85121 136 136 typedef int (WINAPI *PFNWSAENUMNETWORKEVENTS)(UINT_PTR, HANDLE, struct _WSANETWORKEVENTS *); 137 137 /** WSASend */ 138 typedef int (WINAPI *PFNWSASend)(UINT_PTR, struct _WSABUF *, DWORD, LPDWORD, DWORD dwFlags, struct _OVERLAPPED *, PFNRT/*LPWSAOVERLAPPED_COMPLETION_ROUTINE*/);138 typedef int (WINAPI *PFNWSASend)(UINT_PTR, struct _WSABUF *, DWORD, LPDWORD, DWORD dwFlags, struct _OVERLAPPED *, uintptr_t /*LPWSAOVERLAPPED_COMPLETION_ROUTINE*/); 139 139 140 140 /** socket */ -
trunk/src/VBox/Runtime/r3/win/process-win.cpp
r82968 r85121 2076 2076 rc = RTErrConvertFromWin32(dwErr); 2077 2077 if (rc == VERR_UNRESOLVED_ERROR) 2078 LogRelFunc(("CreateProcessWithLogonW (%p) failed: dwErr=%u (%#x), rc=%Rrc\n", 2079 g_pfnCreateProcessWithLogonW, dwErr, dwErr, rc)); 2078 LogRelFunc(("CreateProcessWithLogonW failed: dwErr=%u (%#x), rc=%Rrc\n", dwErr, dwErr, rc)); 2080 2079 } 2081 2080 if (pwszzBlock) -
trunk/src/VBox/Runtime/r3/win/thread-win.cpp
r84840 r85121 59 59 * Internal Functions * 60 60 *********************************************************************************************************************************/ 61 static unsigned __stdcall rtThreadNativeMain(void *pvArgs) ;61 static unsigned __stdcall rtThreadNativeMain(void *pvArgs) RT_NOTHROW_PROTO; 62 62 static void rtThreadWinTellDebuggerThreadName(uint32_t idThread, const char *pszName); 63 63 … … 243 243 * Wrapper which unpacks the param stuff and calls thread function. 244 244 */ 245 static unsigned __stdcall rtThreadNativeMain(void *pvArgs) 245 static unsigned __stdcall rtThreadNativeMain(void *pvArgs) RT_NOTHROW_DEF 246 246 { 247 247 DWORD dwThreadId = GetCurrentThreadId(); -
trunk/src/VBox/Runtime/r3/xml.cpp
r84000 r85121 385 385 struct GlobalLock::Data 386 386 { 387 PFNEXTERNALENTITYLOADER p OldLoader;387 PFNEXTERNALENTITYLOADER pfnOldLoader; 388 388 RTCLock lock; 389 389 390 390 Data() 391 : p OldLoader(NULL),392 391 : pfnOldLoader(NULL) 392 , lock(gGlobal.sxml.lock) 393 393 { 394 394 } … … 402 402 GlobalLock::~GlobalLock() 403 403 { 404 if (m->p OldLoader)405 xmlSetExternalEntityLoader(m->p OldLoader);404 if (m->pfnOldLoader) 405 xmlSetExternalEntityLoader(m->pfnOldLoader); 406 406 delete m; 407 407 m = NULL; 408 408 } 409 409 410 void GlobalLock::setExternalEntityLoader(PFNEXTERNALENTITYLOADER p Loader)411 { 412 m->p OldLoader = xmlGetExternalEntityLoader();413 xmlSetExternalEntityLoader(p Loader);410 void GlobalLock::setExternalEntityLoader(PFNEXTERNALENTITYLOADER pfnLoader) 411 { 412 m->pfnOldLoader = xmlGetExternalEntityLoader(); 413 xmlSetExternalEntityLoader(pfnLoader); 414 414 } 415 415 … … 1824 1824 //////////////////////////////////////////////////////////////////////////////// 1825 1825 1826 static void xmlParserBaseGenericError(void *pCtx, const char *pszMsg, ...) 1826 static void xmlParserBaseGenericError(void *pCtx, const char *pszMsg, ...) RT_NOTHROW_DEF 1827 1827 { 1828 1828 NOREF(pCtx); … … 1833 1833 } 1834 1834 1835 static void xmlParserBaseStructuredError(void *pCtx, xmlErrorPtr error) 1835 static void xmlParserBaseStructuredError(void *pCtx, xmlErrorPtr error) RT_NOTHROW_DEF 1836 1836 { 1837 1837 NOREF(pCtx); … … 2018 2018 } 2019 2019 2020 /*static*/ int XmlStringWriter::WriteCallbackForSize(void *pvUser, const char *pachBuf, int cbToWrite) 2020 /*static*/ int XmlStringWriter::WriteCallbackForSize(void *pvUser, const char *pachBuf, int cbToWrite) RT_NOTHROW_DEF 2021 2021 { 2022 2022 if (cbToWrite > 0) … … 2026 2026 } 2027 2027 2028 /*static*/ int XmlStringWriter::WriteCallbackForReal(void *pvUser, const char *pachBuf, int cbToWrite) 2028 /*static*/ int XmlStringWriter::WriteCallbackForReal(void *pvUser, const char *pachBuf, int cbToWrite) RT_NOTHROW_DEF 2029 2029 { 2030 2030 XmlStringWriter *pThis = static_cast<XmlStringWriter*>(pvUser); … … 2048 2048 } 2049 2049 2050 int XmlStringWriter::CloseCallback(void *pvUser) 2050 /*static*/ int XmlStringWriter::CloseCallback(void *pvUser) RT_NOTHROW_DEF 2051 2051 { 2052 2052 /* Nothing to do here. */ … … 2173 2173 } 2174 2174 2175 // static 2176 int XmlFileParser::ReadCallback(void *aCtxt, char *aBuf, int aLen) 2175 /*static*/ int XmlFileParser::ReadCallback(void *aCtxt, char *aBuf, int aLen) RT_NOTHROW_DEF 2177 2176 { 2178 2177 ReadContext *pContext = static_cast<ReadContext*>(aCtxt); … … 2193 2192 } 2194 2193 2195 int XmlFileParser::CloseCallback(void *aCtxt) 2194 /*static*/ int XmlFileParser::CloseCallback(void *aCtxt) RT_NOTHROW_DEF 2196 2195 { 2197 2196 /// @todo to be written … … 2301 2300 } 2302 2301 2303 int XmlFileWriter::WriteCallback(void *aCtxt, const char *aBuf, int aLen) 2302 /*static*/ int XmlFileWriter::WriteCallback(void *aCtxt, const char *aBuf, int aLen) RT_NOTHROW_DEF 2304 2303 { 2305 2304 WriteContext *pContext = static_cast<WriteContext*>(aCtxt); … … 2319 2318 } 2320 2319 2321 int XmlFileWriter::CloseCallback(void *aCtxt) 2320 /*static*/ int XmlFileWriter::CloseCallback(void *aCtxt) RT_NOTHROW_DEF 2322 2321 { 2323 2322 /// @todo to be written
Note:
See TracChangeset
for help on using the changeset viewer.