Deallocation functions in zmq.h and msg_t class are consistent.

The two functions had different calling conventions (C vs. C++).
It is fixed now.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2011-05-03 23:20:43 +02:00
parent 5e329ba7ca
commit ceb5e1a073
2 changed files with 11 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ int zmq::msg_t::init_size (size_t size_)
return 0;
}
int zmq::msg_t::init_data (void *data_, size_t size_, zmq_free_fn *ffn_,
int zmq::msg_t::init_data (void *data_, size_t size_, msg_free_fn *ffn_,
void *hint_)
{
u.lmsg.type = type_lmsg;