Sha256: ea73a463bd0558cb295b90b79e83d23c1181a06437ad0f6330890a309e3c0e71
Contents?: true
Size: 264 Bytes
Versions: 3
Compression:
Stored size: 264 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sys-admin-1.8.1-universal-mingw32 | lib/sys/admin/custom.rb |
sys-admin-1.8.0-universal-mingw32 | lib/sys/admin/custom.rb |
sys-admin-1.7.0 | lib/sys/admin/custom.rb |