Hi All, Will writing the objc binding I bump into a issue regarding c struct as parameter and return value. For example the NSView>>#bounds return a NSRect and NSWindow>>#initWithContentRect:styleMask:backing:defer: take a NSRect as first parameter.
I have a quick look at ffi to see if pass-by-value of a struct (with a size grater than 8bit) was available and on OSX 64bit the answer is yes for parameter. I didn't make the test for return value. Now in gst everything is bound to a cparam so that is going to make a lot of refactoring in other to have c struct pass-by-value. So what do you think. I am ready to make the change if that's worth it. Mathieu _______________________________________________ help-smalltalk mailing list help-smalltalk@gnu.org http://lists.gnu.org/mailman/listinfo/help-smalltalk