|
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) |
No need for the "Primitive" part. (And if aPoint is not the first parameter, BTW, I'd call its keyword "at: aPoint")mvwaddch: aPoint ch: aChar ^self mvaddchPrimitive: (aPoint y) x: (aPoint x) ch: aChar!
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
[Prev in Thread] | Current Thread | [Next in Thread] |