Hello,,

thanks for all the answers - and yes: I know this all. I know, that my 
wishes are useless for a C programmer. I'm using 0MQ in our project now 
and I did the binding (against the plain dll) and for what I found out is:

* for each object (number, string, complex structures) allocated by the 
library and returned to the caller the library should also offer a 
free() function (which perhaps only calls the underlying free() runtime 
function).

But this is actually not a real problem for me - I change the code of 
czmq and add a simple exported free function and perhaps some access 
functions for external variables.

Marten







Marten

Am 19.08.2013 10:16, schrieb Lucas Hope:
>
>
> Take czmq's zmsg-recv for example. That creates a zmsg, and the zmsg 
> gets destroyed if you call zmsg-send. But otherwise you have to call 
> zmsg-destroy yourself. The reference counting (or whatever) mechanisms 
> are not in place in the C area.
>
>

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to