To use inline C function you need to generate a dylib using gen_bridge_metatada. If you do `man gen_bridge_metadata`, you'll see:
If the custom framework has inline functions and you want to be able to call them, here is how you can generate a ``dylib'' file: gen_bridge_metadata -f /Path/To/YourFramework.framework -F dylib -o /Path/To/YourFramework.framework/Resources/BridgeSupport/YourFramework.dylib
Then you just need to require the generated dylib :-) It looks like this corresponds to what you want to do? :-) -- Thibault Martin-Lagardette On Jul 2, 2010, at 14:49, Michael Jackson wrote:
How exactly does one go about using the SystemConfiguration framework in MacRuby?
http://developer.apple.com/mac/library/documentation/Networking/Reference/Sy...
When I try "framework 'SystemConfiguration'" it returns true, but none of the inline C functions are available. From the reading I've done, it seems that static C libraries like SystemConfiguration should be loaded via a BridgeSupport file, but I have no idea how to generate one in this case.
-- Michael Jackson http://mjijackson.com @mjijackson _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel