Sha256: d6859e65f164d94f38e428ed289ec60303dce8f233d8bfe72039a41f58f3dc2a
Contents?: true
Size: 399 Bytes
Versions: 2
Compression:
Stored size: 399 Bytes
Contents
# frozen_string_literal: true require 'ffi' module GObjectIntrospection # Provides access to the g_type_init function. module GObjectTypeInit def self.type_init Lib.g_type_init end # Module for attaching g_type_init from the gobject library. module Lib extend FFI::Library ffi_lib 'gobject-2.0' attach_function :g_type_init, [], :void end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.11.1 | lib/ffi-gobject_introspection/gobject_type_init.rb |
gir_ffi-0.11.0 | lib/ffi-gobject_introspection/gobject_type_init.rb |