|
From: | Mathieu Suen |
Subject: | [Help-smalltalk] Passing a struct to a c-callout |
Date: | Thu, 17 Feb 2011 20:54:32 +0100 |
Hi I have a function hat take a list of struct as parameter: typedef struct _dim { double x; double y; double w; double h; } dim; void foo (...) { va_list args; ... } In smalltalk I want to call this function so I have add a cCall wit variadic arguments: foo [ <cCall: 'foo' returning: #void args: #( #variadic )> ] But it doesn't work. Thanks for help. Mth __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités http://mail.yahoo.fr Yahoo! Mail
[Prev in Thread] | Current Thread | [Next in Thread] |