diff options
Diffstat (limited to 'src/python/swig/pyobject.hh')
-rw-r--r-- | src/python/swig/pyobject.hh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/python/swig/pyobject.hh b/src/python/swig/pyobject.hh index a27080d08..b18a2a76c 100644 --- a/src/python/swig/pyobject.hh +++ b/src/python/swig/pyobject.hh @@ -52,8 +52,14 @@ serializeAll(const std::string &cpt_dir) Serializable::serializeAll(cpt_dir); } +inline Checkpoint * +getCheckpoint(const std::string &cpt_dir) +{ + return new Checkpoint(cpt_dir); +} + inline void -unserializeAll(const std::string &cpt_dir) +unserializeGlobals(Checkpoint *cp) { - Serializable::unserializeAll(cpt_dir); + Serializable::unserializeGlobals(cp); } |