python binding functional

This commit is contained in:
Martin Sustrik
2009-09-04 16:02:41 +02:00
parent 450b31c3b2
commit 4307baf7bc
19 changed files with 131 additions and 49 deletions

View File

@@ -183,8 +183,7 @@ void *zmq_init (int app_threads_, int io_threads_)
int zmq_term (void *dispatcher_)
{
delete (zmq::dispatcher_t*) dispatcher_;
return 0;
return ((zmq::dispatcher_t*) dispatcher_)->term ();
}
void *zmq_socket (void *dispatcher_, int type_)