From 47ef97b9caad0a72751523855d145dcd96fc5738 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 9 Sep 2010 14:26:29 -0700 Subject: scons: Stop building the big monolithic swigged params module kill params.i and create a separate .i for each object (param, enums, etc.) --- src/python/swig/range.i | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/python/swig/range.i') diff --git a/src/python/swig/range.i b/src/python/swig/range.i index 659bde8d7..f0cf43be4 100644 --- a/src/python/swig/range.i +++ b/src/python/swig/range.i @@ -28,10 +28,18 @@ * Authors: Nathan Binkert */ -%rename(assign) *::operator=; +%module(package="m5.internal") range -%include "base/range.hh" +%{ +#include "base/range.hh" +#include "base/types.hh" +%} + +%include "stdint.i" %include "base/types.hh" +%rename(assign) *::operator=; +%include "base/range.hh" + %template(AddrRange) Range; %template(TickRange) Range; -- cgit v1.2.3