Checkpointing: createCountedDrain function, it was only returning an Event, which does not expose a setCount method to Python.

Signed-off By: Ali Saidi
This commit is contained in:
Clint Smullen
2008-10-27 19:46:01 -04:00
parent aadae0b06e
commit cfa32d8de7
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ PythonEvent::process()
}
}
Event *
CountedDrainEvent *
createCountedDrain()
{
return new CountedDrainEvent();

View File

@@ -46,7 +46,7 @@ class PythonEvent : public Event
virtual void process();
};
Event *createCountedDrain();
CountedDrainEvent *createCountedDrain();
void cleanupCountedDrain(Event *counted_drain);
#endif // __PYTHON_SWIG_PYEVENT_HH__