Re: [MacRuby-devel] wrapping iokit

2011-01-18 Thread Joel Reymont
On Jan 17, 2011, at 11:24 PM, Laurent Sansonetti wrote: > 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. What can I do to help? Assume that I have some time to spare. --

Re: [MacRuby-devel] wrapping iokit

2011-01-17 Thread Laurent Sansonetti
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.f

Re: [MacRuby-devel] wrapping iokit

2011-01-17 Thread Joel Reymont
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'

Re: [MacRuby-devel] wrapping iokit

2011-01-17 Thread Joel Reymont
On Jan 17, 2011, at 9:48 PM, Laurent Sansonetti wrote: > IOKit.framework should be wrapped in the latest BridgeSupport preview release. Is this V2? > If you install it, you should be able to talk to the IOKit APIs from MacRuby, > in theory. Where is the bridge support file? --- http://wagerl

Re: [MacRuby-devel] wrapping iokit

2011-01-17 Thread Laurent Sansonetti
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

Re: [MacRuby-devel] wrapping iokit

2011-01-17 Thread Joel Reymont
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 sub

Re: [MacRuby-devel] wrapping iokit

2011-01-17 Thread Chuck Remes
On Jan 17, 2011, at 6:18 AM, Joel Reymont wrote: > Has anyone tried wrapping user-land IOKit, e.g. > > #include > #include > #include > #include > > I'd love to use MacRuby to prototype user-land USB drivers. +1 This would be way cool... cr __

[MacRuby-devel] wrapping iokit

2011-01-17 Thread Joel Reymont
Has anyone tried wrapping user-land IOKit, e.g. #include #include #include #include I'd love to use MacRuby to prototype user-land USB drivers. --- http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont ___ MacRuby-devel m