From: <lr...@us...> - 2007-01-02 18:16:38
|
Revision: 1317 http://svn.sourceforge.net/rubycocoa/?rev=1317&view=rev Author: lrz Date: 2007-01-02 10:16:37 -0800 (Tue, 02 Jan 2007) Log Message: ----------- 2007-01-02 Laurent Sansonetti <lsa...@ap...> * framework/src/ruby/osx/objc/oc_import.rb, tests/tc_ovmix.rb, tests/objc_test.m: Introduced OSX::NSBehaviorAttachment#objc_export, a convenience facility to export Ruby methods to the Objective-C runtime (a shortcut to addRubyMethod_withType). First argument is the Ruby name of the method, and second is an array of C types (ex: %w{void int} for a '(void)(int)' function). Added a test case. Modified Paths: -------------- branches/apple-unstable/src/ChangeLog branches/apple-unstable/src/framework/src/ruby/osx/objc/oc_import.rb branches/apple-unstable/src/tests/objc_test.m branches/apple-unstable/src/tests/tc_ovmix.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |