Let socket event messages initialize with zmq_msg_init_data and let the framework handle cleanup

This commit is contained in:
Lourens Naudé
2012-11-21 18:27:53 +00:00
parent f78ca629b5
commit b1f4850153
3 changed files with 50 additions and 2 deletions

View File

@@ -38,6 +38,11 @@
#include "clock.hpp"
#include "pipe.hpp"
extern "C"
{
void zmq_free_event (void *data, void *hint);
}
namespace zmq
{