Class: GirFFI::Builders::InterfaceBuilder

Inherits:
RegisteredTypeBuilder show all
Includes:
WithMethods
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 included from WithMethods

#setup_instance_method, #setup_method

Methods inherited from GirFFI::BaseTypeBuilder

#build_class, #initialize

Methods included from GirFFI::BuilderHelper

#const_defined_for, #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



11
12
13
# File 'lib/gir_ffi/builders/interface_builder.rb', line 11

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