Re: [MacRuby-devel] NameError: uninitialized constant NSObject::AF_INET

2009-09-10 Thread Laurent Sansonetti
I noticed these too here. I fixed the 4th one in r2545. We will investigate the others. Laurent On Sep 10, 2009, at 7:14 PM, Conrad Taylor wrote: Hi ALL, I was wondering, is the following the correct state of the specifications: begin transcript: $ rake spec:ci (in /Users/conradwt/macrub

[MacRuby-devel] NameError: uninitialized constant NSObject::AF_INET

2009-09-10 Thread Conrad Taylor
Hi ALL, I was wondering, is the following the correct state of the specifications: begin transcript: $ rake spec:ci (in /Users/conradwt/macruby.dir/projects/macruby-trunk) ./mspec/bin/mspec ci -B ./spec/macruby.mspec :full MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] .[!] Comp

Re: [MacRuby-devel] Static C-Arrays

2009-09-10 Thread Laurent Sansonetti
Hi Tom, In MacRuby, an Array is actually a NSMutableArray instance, as you may know. If you need to call a C or Objective-C method that accepts a C-style array, you can just pass the regular array object and MacRuby should do the conversion for you. If you want to build the C array by y

[MacRuby-devel] macruby nightly build 2009-09-10

2009-09-10 Thread Matt Aimonetti
Latest trunk code available as an unofficial pkg ready to install: http://rubyurl.com/5K3W Lots of bug fixes, improved macgem (not finished yet but you can install gems and load them using `gem 'gem_name'; require 'whatever'`). Things are looking pretty good on trunk :) - Matt ___

[MacRuby-devel] Static C-Arrays

2009-09-10 Thread Tom Kleber
Is it possible to create static c-arrays in macruby? In jruby Array has a a #to_java method which converts a Array object to an java array (a = Array.new(6).to_java(:double)) Is there something like that supported in macruby? Tom ___ MacRuby-devel mailin