From: unbewust Date: 2007-08-08T21:59:58+09:00 Subject: [C ext to Ruby] mixing ObjC and C is possible ??? 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. for the C ext 2 Ruby part i've allready tested successfully the squeleton of my class it works. the last thing i have to do is to compil everything alltogether BUT HERE, i get probs from gcc which doesn't like the "@" symbol used in the *.h and *.m files coming from the ObjC side. presently i'm using, thru an extconf.rb file, mkmf to produce the Makefile. i think the prob arroses here. is there a way to get that working by modifying, manually, for ex, the Makefile, or, proceed in two steps ??? Yvon