From 300712c0d118646d2d2ea206f8d27fd43dbd9040 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Sat, 4 Aug 2007 16:05:18 -0700 Subject: [PATCH] swig: %include all of the enums to get all of the definitions. (instead of %import) --HG-- extra : convert_revision : bc4a39d7be3aad59b34d55aa8dd2c28285f09db9 --- src/python/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2