projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5364d10
)
swig: %include all of the enums to get all of the definitions.
author
Nathan Binkert
<nate@binkert.org>
Sat, 4 Aug 2007 23:05:18 +0000
(16:05 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Sat, 4 Aug 2007 23:05:18 +0000
(16:05 -0700)
(instead of %import)
--HG--
extra : convert_revision :
bc4a39d7be3aad59b34d55aa8dd2c28285f09db9
src/python/generate.py
patch
|
blob
|
history
diff --git
a/src/python/generate.py
b/src/python/generate.py
index 99d0fb68c4b9c09929ae4dc68da24aa0ec116511..6b167552e5dc0e9f5f9c7e09b63f6ad39ea570da 100644
(file)
--- a/
src/python/generate.py
+++ b/
src/python/generate.py
@@
-270,7
+270,7
@@
class Generate(object):
enums = list(enums)
enums.sort()
for enum in enums:
- print >>out, '%%i
mport
"enums/%s.hh"' % enum.__name__
+ print >>out, '%%i
nclude
"enums/%s.hh"' % enum.__name__
print >>out
for obj in ordered_objs: