class FFI::AutoPointer

def self.from_native(val, ctx)

Returns:
  • (AutoPointer) -

Parameters:
  • ctx () -- not used. Please set +nil+.
  • ptr (Pointer) --

Overloads:
  • self.from_native(ptr, ctx)
def self.from_native(val, ctx)
  self.new(val)
end