FFI::StructByValue missing layout and struct_class methods.
-----------------------------------------------------------
Key: JRUBY-4715
URL: http://jira.codehaus.org/browse/JRUBY-4715
Project: JRuby
Issue Type: Bug
Components: Extensions
Affects Versions: JRuby 1.4
Environment: PowerPC Mac OS X 10.4.11
Reporter: Adam Gardner
In CRuby's FFI project (github.com/ffi/ffi), FFI::StructByValue has instance
methods layout and struct_class. The StructByValue#layout method returns an
instance of FFI::StructLayout, and the StructByValue#struct_class method
returns the FFI::Struct subclass associated with the StructByValue type.
It looks as if these methods are defined in Java for JRuby, but not exposed to
Ruby. This creates an incompatibility between CRuby and JRuby FFI, and any
project which makes use of this functionality becomes incompatible with JRuby.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email