summaryrefslogtreecommitdiff
path: root/src/python/swig
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/swig')
-rw-r--r--src/python/swig/range.i7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/python/swig/range.i b/src/python/swig/range.i
index d8da677bb..e3a794310 100644
--- a/src/python/swig/range.i
+++ b/src/python/swig/range.i
@@ -31,15 +31,12 @@
%module(package="m5.internal") range
%{
-#include "base/range.hh"
#include "base/types.hh"
+#include "base/addr_range.hh"
%}
%include <stdint.i>
%rename(assign) *::operator=;
-%include "base/range.hh"
%include "base/types.hh"
-
-%template(AddrRange) Range<Addr>;
-%template(TickRange) Range<Tick>;
+%include "base/addr_range.hh"