From: Naoki H. <n+r...@h7...> - 2008-02-12 20:02:35
|
Hey, This may not apply any more but the last time I've tried (several months ago, though), it didn't work for IOKit. So, I ended up making up bridgesupport file manually. And since some of IOKit APIs need something you cannot get via any frameworks, such as a return value of mach_task_self(), if you happen to need it, you will need to write a ruby extension by yourself, anyway. My silly hack with IOKit that you can find at http://n.h7a.org/hacks/rubycocoa/ may or may not help you. -- Hiroshima On 2/12/08, Patrick Geiller <pge...@wa...> wrote: > > > > Hello, > > > How do I do this in RubyCocoa? > > Is it possible to easily add IOKit or CoreFoundation support to > > RubyCocoa? > > You can try to generate a BridgeSupport file yourself. Look here for > gen_bridge_metadata. > > http://sourceforge.net/mailarchive/forum.php?thread_name=F4912E39-A3E6-4179-A765-80855C77049A%40wanadoo.fr&forum_name=rubycocoa-talk > > > -Patrick > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > |