Class: GirFFI::Builders::InterfaceBuilder

Inherits:
RegisteredTypeBuilder show all
Defined in:
lib/gir_ffi/builders/interface_builder.rb

Overview

Implements the creation of a module representing an Interface.

Instance Attribute Summary

Attributes inherited from GirFFI::BaseTypeBuilder

#info

Instance Method Summary collapse

Methods inherited from RegisteredTypeBuilder

#setup_instance_method, #setup_method, #target_gtype

Methods inherited from GirFFI::BaseTypeBuilder

#build_class, #initialize

Methods included from GirFFI::BuilderHelper

#get_or_define_class, #get_or_define_module, #optionally_define_constant

Constructor Details

This class inherits a constructor from GirFFI::BaseTypeBuilder

Instance Method Details

#interface_structObject



8
9
10
# File 'lib/gir_ffi/builders/interface_builder.rb', line 8

def interface_struct
  @interface_struct ||= Builder.build_class iface_struct_info
end