5c54e69ef0
Change-Id: I2bc7963086f7f5df453e135819ed8b28c4d6a0d5
22 lines
471 B
C++
22 lines
471 B
C++
/*
|
|
* Copyright (C) 2023 The LineageOS Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <tinyxml2.h>
|
|
#include <new>
|
|
|
|
namespace tinyxml2 {
|
|
|
|
extern "C" {
|
|
void* _ZN8tinyxml211XMLDocumentC1Eb(XMLDocument* thisptr, bool processEntities) {
|
|
return new (thisptr) XMLDocument(processEntities);
|
|
}
|
|
|
|
XMLError _ZN8tinyxml211XMLDocument8SaveFileEPKc(XMLDocument* thisptr, const char* filename) {
|
|
return thisptr->SaveFile(filename);
|
|
}
|
|
}
|
|
|
|
} // namespace tinyxml2
|