Laurent Sansonetti
lsans****@apple*****
Fri Jan 19 20:07:48 JST 2007
Oops, looks like I broke variadic functions. I will fix this today :) We should also have a test case. Laurent On Jan 19, 2007, at 11:45 AM, Fujimoto Hisa wrote: > Hi > > current apple-unstable (1451:1452) fail to call NSLog with variable > arguments like the following. r1391 (0.10.1 release) hasn't this > problem. > seems Foundation.xml hasn't any problem. > I can't find the reason so this is just a report. > > 1.8.2 > irb(main):001:0> require 'osx/cocoa' > => true > irb(main):002:0> OSX.NSLog("hello") > 2007-01-19 19:35:03.648 irb[3291] hello > => nil > irb(main):003:0> OSX.NSLog("hello %d", 123) > ArgumentError: wrong number of argument(s) (expected 1, got 2) > from (irb):3:in `NSLog' > from (irb):3 > > -- > hisa > > _______________________________________________ > Rubycocoa-devel mailing list > Rubyc****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel