From: Nathan Binkert Date: Sat, 4 Aug 2007 23:05:18 +0000 (-0700) Subject: swig: %include all of the enums to get all of the definitions. X-Git-Tag: m5_2.0_beta4~195^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=300712c0d118646d2d2ea206f8d27fd43dbd9040;p=gem5.git swig: %include all of the enums to get all of the definitions. (instead of %import) --HG-- extra : convert_revision : bc4a39d7be3aad59b34d55aa8dd2c28285f09db9 --- 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: