Fujimoto Hisa
hisa****@fobj*****
Thu Feb 8 11:47:46 JST 2007
Hi found a bug to access a field of a structure. irb(main):011:0> x = OSX::CFRange.new(3,4) => #<OSX::CFRange:0x45d46c> irb(main):012:0> x.location RuntimeError: Can't retrieve data for field 'location' from (irb):12:in `location' from (irb):12 irb(main):013:0> x = OSX::NSRange.new(3,4) => #<OSX::NSRange:0x4592cc> irb(main):014:0> x.location => 3 irb(main):015:0> metadata in CoreFoundation.xml seems good. <struct name='CFRange' encoding='{? ="location"i"length"i}'/> thanks -- hisa