mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:05:43 +00:00
[LIBXML2] Update to version 2.9.8. CORE-15280
This commit is contained in:
parent
61fed54064
commit
5bb277a54b
37 changed files with 545 additions and 493 deletions
19
sdk/lib/3rdparty/libxml2/hash.c
vendored
19
sdk/lib/3rdparty/libxml2/hash.c
vendored
|
@ -360,6 +360,18 @@ xmlHashFree(xmlHashTablePtr table, xmlHashDeallocator f) {
|
|||
xmlFree(table);
|
||||
}
|
||||
|
||||
/**
|
||||
* xmlHashDefaultDeallocator:
|
||||
* @entry: the hash table entry
|
||||
* @name: the entry's name
|
||||
*
|
||||
* Free a hash table entry with xmlFree.
|
||||
*/
|
||||
void
|
||||
xmlHashDefaultDeallocator(void *entry, const xmlChar *name ATTRIBUTE_UNUSED) {
|
||||
xmlFree(entry);
|
||||
}
|
||||
|
||||
/**
|
||||
* xmlHashAddEntry:
|
||||
* @table: the hash table
|
||||
|
@ -912,8 +924,11 @@ void
|
|||
xmlHashScan3(xmlHashTablePtr table, const xmlChar *name,
|
||||
const xmlChar *name2, const xmlChar *name3,
|
||||
xmlHashScanner f, void *data) {
|
||||
xmlHashScanFull3 (table, name, name2, name3,
|
||||
(xmlHashScannerFull) f, data);
|
||||
stubData stubdata;
|
||||
stubdata.data = data;
|
||||
stubdata.hashscanner = f;
|
||||
xmlHashScanFull3(table, name, name2, name3, stubHashScannerFull,
|
||||
&stubdata);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue