diff options
author | Nathan Binkert <nate@binkert.org> | 2008-06-14 12:57:21 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2008-06-14 12:57:21 -0700 |
commit | ce43e46576ccf09d56aeb7021d3decd75d08d90c (patch) | |
tree | 468de5493ff8a12ffbca48ee01e7b80953bd69b1 /src/python | |
parent | 7a58b5a38a15b5e025435820a2679c34eb2c47a4 (diff) | |
download | gem5-ce43e46576ccf09d56aeb7021d3decd75d08d90c.tar.xz |
Fix various SWIG warnings
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/swig/event.i | 4 | ||||
-rw-r--r-- | src/python/swig/range.i | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/python/swig/event.i b/src/python/swig/event.i index 9a2093c99..ee1f3d00b 100644 --- a/src/python/swig/event.i +++ b/src/python/swig/event.i @@ -44,8 +44,8 @@ void create(PyObject *object, Tick when); -class Event; -class CountedDrainEvent : public Event { +class CountedDrainEvent +{ public: void setCount(int _count); }; diff --git a/src/python/swig/range.i b/src/python/swig/range.i index 40809dae4..309e6a8ba 100644 --- a/src/python/swig/range.i +++ b/src/python/swig/range.i @@ -28,6 +28,8 @@ * Authors: Nathan Binkert */ +%rename(assign) *::operator=; + %include "base/range.hh" %include "sim/host.hh" |