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@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to