[MacRuby-devel] [MacRuby] #585: FFI , attach_variable missing?
MacRuby
ruby-noreply at macosforge.org
Mon Feb 1 00:12:02 PST 2010
#585: FFI , attach_variable missing?
-----------------------------+----------------------------------------------
Reporter: rob@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
-----------------------------+----------------------------------------------
Hi,
I was really happy to hear that FFI shipped with MacRuby but then I ended
up a little disappointed :-P
{{{
require 'ffi'
extend FFI::Library
method(:attach_function).owner # => TopLevel
method(:attach_variable).owner # => NoMethodError
}}}
I guess this could be intentional? I'm not sure. For my case I should be
okay because I'm trying to read from a constant I know the value of, but
just throwin' it out there.
--
Ticket URL: <http://www.macruby.org/trac/ticket/585>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list