List Info

Thread: newt library bindings




newt library bindings
user name
2006-10-27 04:16:29
> 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


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )