diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-02-09 15:47:08 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-02-09 15:47:08 +0100 |
| commit | 0715dd145f96c47078b6d0880dcf249657e79ae4 (patch) | |
| tree | 90b0f1b0dcff4e54941e6705c45112e57fc8e2e7 /src/wrapped/wrappedxml2.c | |
| parent | 5a203222516ad0306211df599dcabdb397509bf9 (diff) | |
| download | box64-0715dd145f96c47078b6d0880dcf249657e79ae4.tar.gz box64-0715dd145f96c47078b6d0880dcf249657e79ae4.zip | |
Added some wrapped function to libxml2
Diffstat (limited to 'src/wrapped/wrappedxml2.c')
| -rw-r--r-- | src/wrapped/wrappedxml2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wrapped/wrappedxml2.c b/src/wrapped/wrappedxml2.c index 7261165c..4b08797c 100644 --- a/src/wrapped/wrappedxml2.c +++ b/src/wrapped/wrappedxml2.c @@ -1490,6 +1490,11 @@ EXPORT void my_xmlTextReaderSetErrorHandler(x64emu_t* emu, void* reader, void* f my->xmlTextReaderSetErrorHandler(reader, find_xmlTextReaderErrorFunc_Fct(f), arg); } +EXPORT void* my_xmlCtxtReadIO(x64emu_t* emu, void* ctxt, void* ioread, void* ioclose, void* ioctx, void* url, void* encoding, int options) +{ + return my->xmlCtxtReadIO(ctxt, find_xmlInputReadCallback_Fct(ioread), find_xmlInputCloseCallback_Fct(ioclose), ioctx, url, encoding, options); +} + #define CUSTOM_INIT \ getMy(lib); |