diff options
author | Nathan Binkert <nate@binkert.org> | 2010-09-09 14:26:29 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-09-09 14:26:29 -0700 |
commit | 47ef97b9caad0a72751523855d145dcd96fc5738 (patch) | |
tree | 9c221cdf3826302b1a908c06ea279fe4c6d8b722 /src/python/swig/range.i | |
parent | e6ee56c6571999631ce31b05d0e563d66a7bbdd8 (diff) | |
download | gem5-47ef97b9caad0a72751523855d145dcd96fc5738.tar.xz |
scons: Stop building the big monolithic swigged params module
kill params.i and create a separate .i for each object (param, enums, etc.)
Diffstat (limited to 'src/python/swig/range.i')
-rw-r--r-- | src/python/swig/range.i | 12 |
1 files changed, 10 insertions, 2 deletions
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<Addr>; %template(TickRange) Range<Tick>; |