[MacRuby-devel] wrapping iokit

Laurent Sansonetti lsansonetti at apple.com
Mon Jan 17 13:48:10 PST 2011


Hi Joel,

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.

In practice, I don't think anyone ever tried that yet, so you may hit bugs :) Let us know if you find something wrong. In case you get something simple working, it would be nice to bundle it as sample code, as it might interest other people!

Laurent

On Jan 17, 2011, at 4:18 AM, Joel Reymont wrote:

> Has anyone tried wrapping user-land IOKit, e.g.
> 
> #include <IOKit/IOKitLib.h>
> #include <IOKit/scsi/SCSITaskLib.h>
> #include <IOKit/usb/IOUSBLib.h>
> #include <IOKit/storage/IOMedia.h>
> 
> I'd love to use MacRuby to prototype user-land USB drivers. 
> 
> ---
> 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/79f209cb/attachment.html>


More information about the MacRuby-devel mailing list