Sha256: 8a5a558e66a346a4229fc42cab9e47ca6cba554299939f168b4b15bb0fb42bf4

Contents?: true

Size: 220 Bytes

Versions: 3

Compression:

Stored size: 220 Bytes

Contents

require 'ffi'

module GirFFI
  module GType
    def self.init; Lib::g_type_init; end
    module Lib
      extend FFI::Library
      ffi_lib "gobject-2.0"
      attach_function :g_type_init, [], :void
    end
  end
end


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gir_ffi-0.0.3 lib/gir_ffi/g_type.rb
gir_ffi-0.0.2 lib/gir_ffi/g_type.rb
gir_ffi-0.0.1 lib/gir_ffi/g_type.rb