FFI::Autopointer#address is missing
-----------------------------------

                 Key: JRUBY-3735
                 URL: http://jira.codehaus.org/browse/JRUBY-3735
             Project: JRuby
          Issue Type: Improvement
         Environment: jruby 1.3.0RC2 (ruby 1.8.6p287) (2009-05-27 6586) (Java 
HotSpot(TM) Client VM 1.6.0_13) [i386-java]
            Reporter: Andrea Fazzi
            Assignee: Thomas E Enebo


AutoPointer#address  is missing in jruby:

# JRuby

>> auto_ptr = FFI::AutoPointer.new(FFI::Pointer.new(0x123))
=> AbstractMemory[size9223372036854775807]
>> auto_ptr.address
NoMethodError: undefined method `address' for 
AbstractMemory[size=9223372036854775807]:FFI::AutoPointer

# MRI

>> auto_ptr = FFI::AutoPointer.new(FFI::Pointer.new(0x123))
=> #<Native Pointer address=0x123>
>> auto_ptr.address
=> 291

Moreover, inspect string differs between implementations.



-- 
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


Reply via email to