Class: FXlsx::CStrArray
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- FXlsx::CStrArray
- Defined in:
- lib/f_xlsx/base_types.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/f_xlsx/base_types.rb', line 6 def value str = [] self[:arr].read_array_of_pointer(self[:s_size]).map do |str_ptr| str << str_ptr.read_string LibC.free(str_ptr) end LibC.free(self[:arr]) LibC.free(self) str end |