Sha256: bd3c0e881cef1310ab77e6b257537e40089b631d8215a447d0146a495a2290eb
Contents?: true
Size: 397 Bytes
Versions: 22
Compression:
Stored size: 397 Bytes
Contents
# frozen_string_literal: true 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
22 entries across 22 versions & 1 rubygems