projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c60fa45
)
Make autogenerated dump functions static.
author
José Fonseca
<jfonseca@vmware.com>
Sun, 27 Sep 2009 18:13:58 +0000
(19:13 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Sun, 27 Sep 2009 18:13:58 +0000
(19:13 +0100)
base.py
patch
|
blob
|
history
diff --git
a/base.py
b/base.py
index
6fba4b3
..
822f4fc
100644
(file)
--- a/
base.py
+++ b/
base.py
@@
-79,10
+79,10
@@
Void = _Void()
class Concrete(Type):
def decl(self):
- print 'void Dump%s(const %s &value);' % (self.id, self.expr)
+ print '
static
void Dump%s(const %s &value);' % (self.id, self.expr)
def impl(self):
- print 'void Dump%s(const %s &value) {' % (self.id, self.expr)
+ print '
static
void Dump%s(const %s &value) {' % (self.id, self.expr)
self._dump("value");
print '}'
print