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

_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to