help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] C Callouts issue


From: Stephen Woolerton
Subject: Re: [Help-smalltalk] C Callouts issue
Date: Thu, 11 Jul 2013 00:00:54 +1200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

On 10/07/13 8:07 PM, Gwenaël Casaccio wrote:
Hi,

You need to pass a CUInt object and not an integer since the function expect a pointer.

| note retVal |
retVal := CUInt value: 0.
note := CNote newBlankNote: retVal.

Gwen

Much appreciated Gwen, exactly what was needed.

And I've updated the C callout tutorial... http://artinamessage.wordpress.com/2013/07/07/gnu-smalltalk-with-c-callouts-2/

Regards
Stephen



reply via email to

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