Sha256: e813a7c5ccdbe072941cc98c5579d14bc52a07ce412f9f77f7b0a5ee4fa0f51c

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 Bytes

Contents

require 'ffi/bit_masks'

# NOTE: Monkey-patch BitMask to work on JRuby.
class FFI::BitMasks::BitMask
  def reference_required?
    false
  end
end

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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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