On 8 aoû¹, 17:09, brab... / gmail.com wrote: > On 8/8/07, unbewust <yvon.thora... / gmail.com> wrote: > > > > hey all, i'd like to mixe ObjC and C into a C extension to Ruby. > > > > the ObjC part (seticon for MacOS X) comes from MacOSXUtils, and works > > > fine. > > > i know RubyCocoa and use it i've even used ObjC in RubyCocoa but here > > i need to write a C ext to ruby being, somehow a wrapper of an ObjC > > API... > > (left off my previous message: > http://www.rubycocoa.com/ruby-extensions-with-rubycocoa/2) > > What about SWIG? > > http://www.swig.org/Doc1.1/HTML/Introduction.html > "SWIG is a code development tool that makes it possible to quickly > build powerful scripting language interfaces to C, C++, or Objective-C > programs." > > http://www.swig.org/Doc1.1/HTML/SWIG.html#n7 > > http://www.swig.org/Doc1.3/Ruby.html ok thanks for swig i'll look at ;-) Yvon