Sha256: c5e5634da442d85945d9122baffe78851eb61c3cd9da6af99924946ec78641dd
Contents?: true
Size: 248 Bytes
Versions: 17
Compression:
Stored size: 248 Bytes
Contents
require 'ffi' class FFI::Pointer def read_array_of_string elements = [] loc = self until ((element = loc.read_pointer).null?) elements << element.read_string loc += FFI::Type::POINTER.size end elements end end
Version data entries
17 entries across 17 versions & 2 rubygems