mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 20:59:47 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user