Sha256: b77158673fc3c7c595d1c189fc2d67e0262c7799a1253b00fdfe7e4cc89c030f

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 Bytes

Contents

# frozen_string_literal: true
require 'ffi/bit_masks'

module GObject
  # Module for attaching functions from the gobject library
  module Lib
    extend FFI::Library
    extend FFI::BitMasks
    ffi_lib 'gobject-2.0'
    attach_function :g_type_init, [], :void
    attach_function :g_type_from_name, [:string], :size_t
    attach_function :g_type_fundamental, [:size_t], :size_t
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gir_ffi-0.10.2 lib/gir_ffi-base/gobject/lib.rb