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

Function xmlMemStrdupLoc

ThirdParty/libxml2/vtklibxml2/xmlmemory.c:242–247  ·  view source on GitHub ↗

* xmlMemStrdupLoc: * @str: the initial string pointer * @file: the file name or NULL * @line: the line number * * DEPRECATED: don't use * * Returns a pointer to the new string or NULL if allocation error occurred. */

Source from the content-addressed store, hash-verified

240 * Returns a pointer to the new string or NULL if allocation error occurred.
241 */
242char *
243xmlMemStrdupLoc(const char *str, const char *file ATTRIBUTE_UNUSED,
244 int line ATTRIBUTE_UNUSED)
245{
246 return(xmlMemoryStrdup(str));
247}
248
249/**
250 * xmlMemoryStrdup:

Callers

nothing calls this directly

Calls 1

xmlMemoryStrdupFunction · 0.85

Tested by

no test coverage detected