[MacRuby-devel] wrapping iokit

Laurent Sansonetti lsansonetti at apple.com
Mon Jan 17 15:24:20 PST 2011


Looks like I talked too fast, there isn't any BridgeSupport file for IOKit, even in Preview 2. I will look into it, as I'm planning to roll out a new version soon.

Laurent

On Jan 17, 2011, at 1:53 PM, Joel Reymont wrote:

> 
> On Jan 17, 2011, at 9:48 PM, Laurent Sansonetti wrote:
> 
>> IOKit.framework should be wrapped in the latest BridgeSupport preview release. If you install it, you should be able to talk to the IOKit APIs from MacRuby, in theory.
> 
> Doesn't seem to work!
> 
> macirb
> irb(main):001:0> framework 'IOKit'
> => true
> 
> irb(main):002:0> IOMasterPort
> NameError: uninitialized constant IOMasterPort
> 	
> irb(main):003:0> IOServiceMatching
> NameError: uninitialized constant IOServiceMatching
> 	
> 
> ---
> http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
> 
> 
> 
> 
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110117/2b075ff8/attachment-0001.html>


More information about the MacRuby-devel mailing list