See the attached test case. It demonstrates the use of
addRubyMethod_withType to set a variety of different signature types. It
is far from exhaustive, but it is sufficient to show several problems.
Neither floats or doubles appear to be bridged correctly. In the case of
floats, the value returned from Ruby to Objective-C is incorrect. For
doubles, the bridge crashes when a double is passed from Objective-C to
Log in to post a comment.