#585: FFI , attach_variable missing?
-----------------------------+----------------------------------------------
 Reporter:  r...@…            |       Owner:  lsansone...@…        
     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/>

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to