summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2007-08-04 16:05:18 -0700
committerNathan Binkert <nate@binkert.org>2007-08-04 16:05:18 -0700
commit300712c0d118646d2d2ea206f8d27fd43dbd9040 (patch)
treeaffbc5fa6dbf1779b37daea56c94fc8d96337a61
parent5364d109d2063fdb20a86a44cb16ecd9efb788b6 (diff)
downloadgem5-300712c0d118646d2d2ea206f8d27fd43dbd9040.tar.xz
swig: %include all of the enums to get all of the definitions.
(instead of %import) --HG-- extra : convert_revision : bc4a39d7be3aad59b34d55aa8dd2c28285f09db9
-rw-r--r--src/python/generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/generate.py b/src/python/generate.py
index 99d0fb68c..6b167552e 100644
--- 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, '%%import "enums/%s.hh"' % enum.__name__
+ print >>out, '%%include "enums/%s.hh"' % enum.__name__
print >>out
for obj in ordered_objs: