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

Function xmlBoolToText

ThirdParty/libxml2/vtklibxml2/debugXML.c:1775–1782  ·  view source on GitHub ↗

* xmlBoolToText: * @boolval: a bool to turn into text * * Convenient way to turn bool into text * * Returns a pointer to either "True" or "False" */

Source from the content-addressed store, hash-verified

1773 * Returns a pointer to either "True" or "False"
1774 */
1775const char *
1776xmlBoolToText(int boolval)
1777{
1778 if (boolval)
1779 return("True");
1780 else
1781 return("False");
1782}
1783
1784#ifdef LIBXML_XPATH_ENABLED
1785/****************************************************************

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected