class FDB::FutureStringArray

Public Instance Methods

getter() click to toggle source
# File lib/fdbimpl.rb, line 476
def getter
  strings = FFI::MemoryPointer.new :pointer
  count = FFI::MemoryPointer.new :int
  FDBC.check_error FDBC.fdb_future_get_string_array(@fpointer, strings, count)

  @value = strings.read_pointer.get_array_of_string(0, count.read_int).compact
end