added session::id() to python binding

This commit is contained in:
Arvid Norberg 2008-12-15 08:03:47 +00:00
parent 4b01a8fe61
commit ba1de6ea99
1 changed files with 1 additions and 0 deletions

View File

@ -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<std::auto_ptr<alert> >();