diff options
author | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2012-11-02 11:32:02 -0500 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2012-11-02 11:32:02 -0500 |
commit | aae6134b5487e02a90445d1b2146583740658b09 (patch) | |
tree | 95253a9db555dcfcac23c7875ce5003c12f75cde /src/python/swig/event.i | |
parent | dc01535c7e800189c4cb46cab470f4b958be94c7 (diff) | |
download | gem5-aae6134b5487e02a90445d1b2146583740658b09.tar.xz |
sim: Add SWIG interface for Serializable
This changeset adds a SWIG interface for the Serializable class, which
fixes a warning when compiling the SWIG interface for the event
queue. Currently, the only method exported is the name() method.
Diffstat (limited to 'src/python/swig/event.i')
-rw-r--r-- | src/python/swig/event.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/swig/event.i b/src/python/swig/event.i index 766dc2769..1f7740eab 100644 --- a/src/python/swig/event.i +++ b/src/python/swig/event.i @@ -39,6 +39,8 @@ #include "sim/simulate.hh" %} +%import "python/swig/serialize.i" + #pragma SWIG nowarn=350,351 %extend EventQueue { @@ -73,8 +75,6 @@ %include <std_string.i> %include <stdint.i> -%import "sim/serialize.hh" - %include "base/types.hh" %include "sim/eventq.hh" |