class GirFFI::Builders::UnintrospectableBuilder

Implements the creation of a class representing an object type for which no data is found in the GIR. Typically, these are created to cast objects returned by a function that returns an interface.

Public Instance Methods

klass() click to toggle source
# File lib/gir_ffi/builders/unintrospectable_builder.rb, line 9
def klass
  @klass ||= TypeBuilder::CACHE[target_gtype] ||= Class.new(superclass)
end
setup_class() click to toggle source
# File lib/gir_ffi/builders/unintrospectable_builder.rb, line 13
def setup_class
  setup_constants
  setup_layout
  setup_interfaces
end
setup_instance_method(_method) click to toggle source
# File lib/gir_ffi/builders/unintrospectable_builder.rb, line 19
def setup_instance_method(_method)
  false
end