Sha256: 54b61968db7cceff079d3ea37a60b29007401fde91729243d2c83c9c6e6cfd7e
Contents?: true
Size: 400 Bytes
Versions: 13
Compression:
Stored size: 400 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
13 entries across 13 versions & 1 rubygems