help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] Re: newt library bindings


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Re: newt library bindings
Date: Fri, 27 Oct 2006 13:16:29 +0900
User-agent: Thunderbird 1.5.0.7 (Macintosh/20060909)


mvwaddch: aPoint ch: aChar
    ^self mvaddchPrimitive: (aPoint y) x: (aPoint x) ch: aChar!
No need for the "Primitive" part. (And if aPoint is not the first parameter, BTW, I'd call its keyword "at: aPoint")
mvwaddchPrimitive: anInt1 x: anInt2 ch: aChar
    <cCall: 'mvaddch' returning: #int args: #(#self #int #int #char )>!
Likewise, and you are actually calling mvwaddch of course.

Otherwise good.  Don't be afraid to post this kind of question publicly.

Paolo




reply via email to

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