[zeromq-dev] How to do "free()" in a non-c environment ?
Ian Barber
ian.barber at gmail.com
Mon Aug 19 09:37:10 CEST 2013
The binding should take care of that - if the calling language
automatically manages memory, it shouldn't need to care. In your binding I
would allocate memory using whatever the normal process is in that
language, so that it is garbage collected.
Ian
On Mon, Aug 19, 2013 at 7:52 AM, itlists at schrievkrom.de <
itlists at schrievkrom.de> wrote:
> 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
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130819/029c1bad/attachment.htm>
More information about the zeromq-dev
mailing list