From: José Fonseca Date: Sun, 14 Nov 2010 00:15:43 +0000 (+0000) Subject: Use C++ true/false constants. X-Git-Tag: 2.0_alpha^2~1384 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47da0213593d39d2194802baf3940bcbc6458686;p=tools%2Fapitrace.git Use C++ true/false constants. --- diff --git a/base.py b/base.py index 9d7005b..98d2ded 100644 --- a/base.py +++ b/base.py @@ -195,7 +195,7 @@ class Flags(Concrete): self.values = values def _dump(self, instance): - print ' bool l_First = TRUE;' + print ' bool l_First = true;' print ' %s l_Value = %s;' % (self.type, instance) for value in self.values: print ' if((l_Value & %s) == %s) {' % (value, value) @@ -203,7 +203,7 @@ class Flags(Concrete): print ' Log::Text(" | ");' print ' Log::Text("%s");' % value print ' l_Value &= ~%s;' % value - print ' l_First = FALSE;' + print ' l_First = false;' print ' }' print ' if(l_Value || l_First) {' print ' if(!l_First)'