Parent

Methods

FFI::Generator::Type

Constants

ArrayRE
ArraySizeRE

Attributes

full_decl[R]

Public Class Methods

new(params = { }) click to toggle source
# File lib/generator/type.rb, line 44
def initialize(params = { })
  super
  params = { :declaration => get_full_decl, :typedefs => { } }.merge(params)
  @full_decl = params[:declaration]
  @typedefs = params[:typedefs] || { }
  @declaration = Declaration.new(@full_decl)
  @is_pointer = 0
end

Public Instance Methods

to_s() click to toggle source
# File lib/generator/type.rb, line 52
def to_s
  ffi_type_from(@full_decl)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.