Hi,
Good catch, the Method structure is likely clashing with the Ruby Method class
:) I'm not sure if we should try to make it work, as it's surely an edge case.
Maybe #load_bridge_support_file should accept a Module object where the
constants should be defined, as a second, optional, argument?
Hi,
MacRuby support bridgesupport .You can call any C-function,
See "Accessing Static APIs" in
http://www.macruby.org/documentation/tutorial.html
but..I cannot load bridgesupport file for runtime.h
$ cd /Developer/SDKs/MacOSX10.6.sdk/usr/include/objc
$ gen_bridge_metadata -c '-I.' runtime.h > ~
I'm guessing this is documented somewhere but have not been able to find it
yet... How can objective C runtime methods such as class_copyMethodList be
called from MacRuby? Thanks! -Garett
___
MacRuby-devel mailing list
[email protected]