From: Motohiro T. <mo...@gm...> - 2007-07-15 09:01:28
|
It works, thanks ! I searched that information on web, because the local documents seemed to be obsolete... but I will look up that for now. 2007/7/15, Satoshi Nakagawa <sna...@in...>: > Hi. > > > While writing QuartzComposer CustomPatch with RubyCocoa, I'm in > > trouble with passing arguments from Objective-C code to Ruby. > > How can I pass more than one arguments to Ruby code from Objective-C code ? > > Try this: > > objc_method :execute_time_arguments, %w|char id double id| > def execute_time_arguments(fp8, fp12, fp20) > ... > end > > You can see documents of RubyCocoa in your machine: > > /Developer/Documentation/RubyCocoa/programming.en.html (English) > /Developer/Documentation/RubyCocoa/programming.ja.html (Japanese) > > -- > Satoshi Nakagawa > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > |