Sha256: 77110e56562614a78e6b23e809334f9368b51d4a607e9782b59acc55e8a988de
Contents?: true
Size: 949 Bytes
Versions: 5
Compression:
Stored size: 949 Bytes
Contents
# frozen_string_literal: true require 'ffi' require 'ffi/bit_masks' require 'gir_ffi-base' require 'ffi-gobject_introspection' require 'gir_ffi/ffi_ext' require 'gir_ffi/class_base' require 'gir_ffi/type_map' require 'gir_ffi/info_ext' require 'gir_ffi/in_pointer' require 'gir_ffi/in_out_pointer' require 'gir_ffi/sized_array' require 'gir_ffi/zero_terminated' require 'gir_ffi/arg_helper' require 'gir_ffi/builder' require 'gir_ffi/user_defined_type_info' require 'gir_ffi/builders/user_defined_builder' require 'gir_ffi/version' # Main module containing classes and modules needed for generating GLib and # GObject bindings. module GirFFI def self.setup(namespace, version = nil) namespace = namespace.to_s GirFFI::Builder.build_module namespace, version end def self.define_type(klass, &block) info = UserDefinedTypeInfo.new(klass, &block) Builders::UserDefinedBuilder.new(info).build_class klass.gtype end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.10.2 | lib/gir_ffi/core.rb |
gir_ffi-0.10.1 | lib/gir_ffi/core.rb |
gir_ffi-0.10.0 | lib/gir_ffi/core.rb |
gir_ffi-0.10.0.pre1 | lib/gir_ffi/core.rb |
gir_ffi-0.9.5 | lib/gir_ffi/core.rb |