[MacRuby-devel] [macruby] #109: need Objective-C APIs for the runtime

macruby ruby-noreply at macosforge.org
Fri Aug 22 01:34:59 PDT 2008


#109: need Objective-C APIs for the runtime
---------------------------------+------------------------------------------
 Reporter:  tali.wang at gmail.com  |        Owner:  lsansonetti at apple.com
     Type:  defect               |       Status:  new                  
 Priority:  minor                |    Milestone:  MacRuby 1.0          
Component:  MacRuby              |   Resolution:                       
 Keywords:                       |  
---------------------------------+------------------------------------------
Changes (by lsansonetti at apple.com):

  * priority:  critical => minor
  * summary:  rb_eval_string does not work properly => need Objective-C
              APIs for the runtime
  * milestone:  => MacRuby 1.0

Comment:

 Initializing MacRuby is a little bit tricky, doing what you pasted is
 unfortunately not enough.

 I plan to introduce an Objective-C API for MacRuby core to easily
 initialize and use MacRuby from Objective-C, but in the meantime you will
 have to use the C API.

 To initialize MacRuby, you can look at the macruby_main() function,
 defined in objc.m, and mimic what it does.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/109#comment:1>
macruby <http://macruby.org/>


More information about the MacRuby-devel mailing list