1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

bool can be a reserved keyword. Daniel

* debugXML.c include/libxml/debugXML.h: bool can be a reserved
  keyword.
Daniel
This commit is contained in:
Daniel Veillard
2001-11-01 08:38:12 +00:00
parent 8bdb91dd5c
commit ebd38c5f92
3 changed files with 9 additions and 4 deletions

View File

@ -1162,14 +1162,14 @@ xmlLsOneNode(FILE *output, xmlNodePtr node) {
/**
* xmlBoolToText:
* @bool : a bool to turn into text
* @boolval : a bool to turn into text
*
* Convenient way to turn bool into text
*/
const char *
xmlBoolToText(int bool)
xmlBoolToText(int boolval)
{
if (bool)
if (boolval)
return("True");
else
return("False");