Sha256: fa94356057595107d202f25d50e1cdb0338337ece29b14111b3fc21c0d60d40a
Contents?: true
Size: 355 Bytes
Versions: 4
Compression:
Stored size: 355 Bytes
Contents
module GLib # Extra methods for GLib::Strv. class Strv def self.from it case it when nil nil when FFI::Pointer wrap it when self it else from_enumerable it end end def self.from_enumerable enum self.wrap GirFFI::InPointer.from_array :utf8, enum end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.5.2 | lib/ffi-glib/strv.rb |
gir_ffi-0.5.1 | lib/ffi-glib/strv.rb |
gir_ffi-0.5.0 | lib/ffi-glib/strv.rb |
gir_ffi-0.4.3 | lib/ffi-glib/strv.rb |