help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Strategy to finding memleaks


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Strategy to finding memleaks
Date: Sun, 10 Apr 2011 18:30:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 04/10/2011 12:09 AM, Holger Hans Peter Freyther wrote:
this does not seem to be documented well. if I have a
<cCall ... args: #(#self #string)..>

how is the string converted?

It is NULL-terminated, but the whole data from the object is passed.

will it be deleted after the call?

Yes.

do we have types that can specify the one or the other?

No.  You can use #asCData and #cObject to transfer ownership.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]