summaryrefslogtreecommitdiff
path: root/bindings/c
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-12-16 15:08:37 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-12-16 15:08:37 +0100
commitab5abf6c7ec7668c4a8373d87c491d22d0db144d (patch)
treeead3b180990fccc22c317199f4b2002d60c557cb /bindings/c
parent02202ec30ecca9e538cc807ce86b54d822c823bd (diff)
hint parameter added to zmq_free function
Diffstat (limited to 'bindings/c')
-rw-r--r--bindings/c/zmq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/c/zmq.h b/bindings/c/zmq.h
index 37bad52..bda6c01 100644
--- a/bindings/c/zmq.h
+++ b/bindings/c/zmq.h
@@ -106,12 +106,12 @@ typedef struct
unsigned char vsm_data [ZMQ_MAX_VSM_SIZE];
} zmq_msg_t;
-typedef void (zmq_free_fn) (void *data);
+typedef void (zmq_free_fn) (void *data, void *hint);
ZMQ_EXPORT int zmq_msg_init (zmq_msg_t *msg);
ZMQ_EXPORT int zmq_msg_init_size (zmq_msg_t *msg, size_t size);
ZMQ_EXPORT int zmq_msg_init_data (zmq_msg_t *msg, void *data,
- size_t size, zmq_free_fn *ffn);
+ size_t size, zmq_free_fn *ffn, void *hint);
ZMQ_EXPORT int zmq_msg_close (zmq_msg_t *msg);
ZMQ_EXPORT int zmq_msg_move (zmq_msg_t *dest, zmq_msg_t *src);
ZMQ_EXPORT int zmq_msg_copy (zmq_msg_t *dest, zmq_msg_t *src);