class GLib::Strv
Represents a null-terminated array of strings. GLib
uses this construction, but does not provide any actual functions for this class.
The implementation is mainly inherited from GObjectIntrospection::Strv
.
Public Class Methods
Source
# File lib/ffi-glib/strv.rb, line 13 def self.from(obj) case obj when nil nil when FFI::Pointer wrap obj when self obj else from_enumerable obj end end
Source
# File lib/ffi-glib/strv.rb, line 26 def self.from_enumerable(enum) wrap GirFFI::InPointer.from_array :utf8, enum end