MacGem and C FFI recap for newbie?
Hi all- I poked around the MacRuby wiki and mailing list, and think I have this straight. Could someone confirm, deny or clarify: The current MacGem app works with pure Ruby Gems, but not those with compiled C components? So the FFI Gem currently won't work with MacGem? If I want to use a C dylib like libsndfile with MacRuby, the easiest way to go is to create an Objective-C Framework to wrap around the dylib? Thanks! Charles
That's correct, FFI support is expected in MacRuby 0.5 and eventually C extension support. Personally, I use obj-c dynlibs instead of frameworks but it shouldn't matter. - Matt On Tue, May 26, 2009 at 4:01 PM, Charles Turner <vze26m98@optonline.net>wrote:
Hi all-
I poked around the MacRuby wiki and mailing list, and think I have this straight. Could someone confirm, deny or clarify:
The current MacGem app works with pure Ruby Gems, but not those with compiled C components?
So the FFI Gem currently won't work with MacGem?
If I want to use a C dylib like libsndfile with MacRuby, the easiest way to go is to create an Objective-C Framework to wrap around the dylib?
Thanks!
Charles
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (2)
-
Charles Turner
-
Matt Aimonetti