module FFI

Public Class Methods

from_native(value, context) click to toggle source
# File lib/ffi-value.rb, line 16
def self.from_native(value, context)
  ObjectSpace._id2ref(value)
end
native_type() click to toggle source
# File lib/ffi-value.rb, line 7
def self.native_type
  FFI::Type::UINT64
end
to_native(value, context) click to toggle source
# File lib/ffi-value.rb, line 20
def self.to_native(value, context)
  value.object_id
end