From ba1de6ea9936a8d0d2d6fca433723132f18fa5f1 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 15 Dec 2008 08:03:47 +0000 Subject: [PATCH] added session::id() to python binding --- bindings/python/src/session.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp index 9202079de..e37c6a3ea 100644 --- a/bindings/python/src/session.cpp +++ b/bindings/python/src/session.cpp @@ -385,6 +385,7 @@ void bind_session() .def("pause", allow_threads(&session::pause)) .def("resume", allow_threads(&session::resume)) .def("is_paused", allow_threads(&session::is_paused)) + .def("id", allow_threads(&session::id)) ; register_ptr_to_python >();