class FFI::Pointer

def read_array_of_pointer(length)

def read_array_of_pointer(length)
  read_array_of_type(:pointer, :read_pointer, length)
end unless method_defined?(:read_array_of_pointer)

def write_array_of_pointer(ary)

def write_array_of_pointer(ary)
  write_array_of_type(:pointer, :write_pointer, ary)
end unless method_defined?(:write_array_of_pointer)

def write_pointer(ptr)

def write_pointer(ptr)
  put_pointer(0, ptr)
end unless method_defined?(:write_pointer)