From aae6134b5487e02a90445d1b2146583740658b09 Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Fri, 2 Nov 2012 11:32:02 -0500 Subject: 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. --- src/python/swig/event.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/python/swig/event.i') 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 %include -%import "sim/serialize.hh" - %include "base/types.hh" %include "sim/eventq.hh" -- cgit v1.2.3