C needs "free" and requires all the memory management to be performed under the sole responsability of the programmer. Other languages usually have a garbage collector, and you don't need to take care of it. Smalltalk is such a language (ref <http://www.gnu.org/software/smalltalk/manual/html_node/GC.html>).

Le 19/08/2013 08:52, [email protected] a écrit :
Hello,

I managed to get a CZMQ dll under windows. That fine so far. Actually I
am not doing "C", but bind it to a smalltalk dialect. Now the problem
when using (for example): zstr_recv().

It is said that the caller must free the receiving string, but how is
this done, when you only have a high-level binding and no "free()"
function to call.

Should czmq offer a free-helper function to make this possible ?


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

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

Reply via email to