Sha256: 4942676758a92734a0ae220a9c42ca04f9f5148308a3fc3f5c9be1096dbdacf5
Contents?: true
Size: 355 Bytes
Versions: 17
Compression:
Stored size: 355 Bytes
Contents
module GObjectIntrospection # Wraps GLib's GError struct. class GError # GLib's GError struct. class Struct < FFI::Struct layout :domain, :uint32, :code, :int, :message, :string end def initialize ptr @struct = self.class::Struct.new(ptr) end def message @struct[:message] end end end
Version data entries
17 entries across 17 versions & 1 rubygems