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:
@ -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");
|
||||
|
Reference in New Issue
Block a user