Class: FDB::FutureStringArray
- Inherits:
-
LazyFuture
- Object
- Future
- LazyFuture
- FDB::FutureStringArray
- Defined in:
- lib/fdbimpl.rb
Instance Method Summary collapse
Methods inherited from LazyFuture
#initialize, #method_missing, #respond_to?, #value
Methods inherited from Future
#block_until_ready, #callback_wrapper, #cancel, finalize, #initialize, #on_ready, #ready?, wait_for_any
Constructor Details
This class inherits a constructor from FDB::LazyFuture
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FDB::LazyFuture
Instance Method Details
#getter ⇒ Object
499 500 501 502 503 504 505 |
# File 'lib/fdbimpl.rb', line 499 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 |