Changeset 95109 in vbox
- Timestamp:
- May 25, 2022 8:37:03 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cpp/xml.h
r93115 r95109 364 364 365 365 366 #if RT_CLANG_PREREQ(4, 0) /* VC++ needs the nothrow'ed-ness, while clang barfs at it. */367 typedef xmlParserInput *FNEXTERNALENTITYLOADER(const char *aURI, const char *aID, xmlParserCtxt *aCtxt);368 #else369 366 typedef DECLCALLBACKTYPE_EX(xmlParserInput *, RT_NOTHING, FNEXTERNALENTITYLOADER,(const char *aURI, const char *aID, 370 367 xmlParserCtxt *aCtxt)); 371 #endif 372 typedef FNEXTERNALENTITYLOADER *PFNEXTERNALENTITYLOADER; /**< xmlExternalEntityLoader */ 368 typedef FNEXTERNALENTITYLOADER *PFNEXTERNALENTITYLOADER; /**< xmlExternalEntityLoader w/ noexcept. */ 373 369 374 370 class RT_DECL_CLASS GlobalLock -
trunk/src/VBox/Runtime/r3/xml.cpp
r93115 r95109 427 427 void GlobalLock::setExternalEntityLoader(PFNEXTERNALENTITYLOADER pfnLoader) 428 428 { 429 m->pfnOldLoader = xmlGetExternalEntityLoader();429 m->pfnOldLoader = (PFNEXTERNALENTITYLOADER)xmlGetExternalEntityLoader(); 430 430 xmlSetExternalEntityLoader(pfnLoader); 431 431 }
Note:
See TracChangeset
for help on using the changeset viewer.