Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
libxml2
Commits
ebd38c5f
Commit
ebd38c5f
authored
Nov 01, 2001
by
Daniel Veillard
Browse files
bool can be a reserved keyword. Daniel
* debugXML.c include/libxml/debugXML.h: bool can be a reserved keyword. Daniel
parent
8bdb91dd
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
ebd38c5f
Thu Nov 1 09:37:13 CET 2001 Daniel Veillard <daniel@veillard.com>
* debugXML.c include/libxml/debugXML.h: bool can be a reserved
keyword.
Wed Oct 31 18:50:08 CET 2001 Daniel Veillard <daniel@veillard.com>
* Makefile.am: cleanup
...
...
debugXML.c
View file @
ebd38c5f
...
...
@@ -1162,14 +1162,14 @@ xmlLsOneNode(FILE *output, xmlNodePtr node) {
/**
* xmlBoolToText:
* @bool : a bool to turn into text
* @bool
val
: a bool to turn into text
*
* Convenient way to turn bool into text
*/
const
char
*
xmlBoolToText
(
int
bool
)
xmlBoolToText
(
int
bool
val
)
{
if
(
bool
)
if
(
bool
val
)
return
(
"True"
);
else
return
(
"False"
);
...
...
include/libxml/debugXML.h
View file @
ebd38c5f
...
...
@@ -50,7 +50,7 @@ void xmlDebugDumpEntities (FILE *output,
void
xmlLsOneNode
(
FILE
*
output
,
xmlNodePtr
node
);
int
xmlLsCountNode
(
xmlNodePtr
node
);
const
char
*
xmlBoolToText
(
int
bool
);
const
char
*
xmlBoolToText
(
int
bool
val
);
long
xmlGetLineNo
(
xmlNodePtr
node
);
/****************************************************************
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment