[MacRuby-devel] wrapping iokit
Joel Reymont
joelr1 at gmail.com
Mon Jan 17 13:46:03 PST 2011
On Jan 17, 2011, at 9:42 PM, Chuck Remes wrote:
>> I'd love to use MacRuby to prototype user-land USB drivers.
>
> +1
>
> This would be way cool...
The problem here is that you cannot just run gen_bridge_metadata on IOKit.framework.
You need to selectively include or exclude a bunch of subdirectories under IOKit/Headers and I don't think gen_bridge_metadata allows for it at the moment.
ls /System/Library/Frameworks/IOKit.framework/Headers
DV IOReturn.h kext
IOBSD.h IOSharedLock.h ndrvsupport
IOCFBundle.h IOTypes.h network
IOCFPlugIn.h OSMessageNotification.h ppc
IOCFSerialize.h audio ps
IOCFURLAccess.h avc pwr_mgt
IOCFUnserialize.h firewire sbp2
IODataQueueClient.h graphics scsi
IODataQueueShared.h hid serial
IOKitKeys.h hidsystem storage
IOKitLib.h i2c stream
IOKitServer.h i386 usb
IOMessage.h iokitmig.h
---
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
More information about the MacRuby-devel
mailing list