swig: %include all of the enums to get all of the definitions.

(instead of %import)

--HG--
extra : convert_revision : bc4a39d7be3aad59b34d55aa8dd2c28285f09db9
This commit is contained in:
Nathan Binkert 2007-08-04 16:05:18 -07:00
parent 5364d109d2
commit 300712c0d1

View file

@ -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: