MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlHashCopy

Function xmlHashCopy

ThirdParty/libxml2/vtklibxml2/hash.c:1200–1203  ·  view source on GitHub ↗

* xmlHashCopy: * @hash: hash table * @copy: copier function for items in the hash * * DEPRECATED: Leaks memory in error case. * * Copy the hash table using @copy to copy payloads. * * Returns the new table or NULL if a memory allocation failed. */

Source from the content-addressed store, hash-verified

1198 * Returns the new table or NULL if a memory allocation failed.
1199 */
1200xmlHashTablePtr
1201xmlHashCopy(xmlHashTablePtr hash, xmlHashCopier copy) {
1202 return(xmlHashCopySafe(hash, copy, NULL));
1203}
1204
1205/**
1206 * xmlHashSize:

Callers

nothing calls this directly

Calls 1

xmlHashCopySafeFunction · 0.85

Tested by

no test coverage detected