[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src xml_helper.cxx,1.22,1.23
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src xml_helper.cxx,1.22,1.23 |
Date: |
12 Oct 2002 00:02:16 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv9114
Modified Files:
xml_helper.cxx
Log Message:
added parse_bool
Index: xml_helper.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/xml_helper.cxx,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- xml_helper.cxx 3 Oct 2002 01:02:12 -0000 1.22
+++ xml_helper.cxx 12 Oct 2002 00:02:14 -0000 1.23
@@ -185,6 +185,12 @@
return pos;
}
+bool
+XMLhelper::parse_bool (xmlDocPtr doc, xmlNodePtr cur)
+{
+ return static_cast<bool>(parse_int(doc, cur));
+}
+
int
XMLhelper::parse_int (xmlDocPtr doc, xmlNodePtr cur)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src xml_helper.cxx,1.22,1.23,
grumbel <=