[MacRuby-devel] assign value to identifier in runtime with objc codes
Linan Wang
tali.wang at gmail.com
Sun Jul 26 17:10:46 PDT 2009
Hi everybody,I'm trying to migrate from FScript to MacRuby. The problem I'm
facing now is how to assign values to variables in the macruby runtime with
objc codes. In Fscript framework, it's fairly straightforward:
setObject:forIdentifier call of FSInterpreter.
I've tried
rb_define_varible but it does not work. seems it requires
rb_objc_ocval_to_rval function call to convert the objc object to ruby
object first. Any help is appreciated. Thanks
--
Best regards
Linan Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20090727/91e402f4/attachment.html>
More information about the MacRuby-devel
mailing list