class Bindgen::Configuration

Overview

Configuration as read from the .yml file passed to bindgen as program parameter.

Included Modules

Defined in:

bindgen/configuration.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def classes : Hash(String, String) #

Which classes to wrap


[View source]
def classes=(classes : Hash(String, String)) #

Which classes to wrap


[View source]
def containers : Array(Bindgen::Configuration::Container) #

Which templates to instantiate


[View source]
def containers=(containers : Array(Bindgen::Configuration::Container)) #

Which templates to instantiate


[View source]
def cookbook : String #

Cookbook to use for templates


[View source]
def cookbook=(cookbook : String) #

Cookbook to use for templates


[View source]
def enums : Hash(String, Bindgen::Configuration::Enum) #

[View source]
def enums=(enums : Hash(String, Bindgen::Configuration::Enum)) #

[View source]
def find_paths : Bindgen::FindPath::Configuration | Nil #

Find path configuration


[View source]
def find_paths=(find_paths : Bindgen::FindPath::Configuration | Nil) #

Find path configuration


[View source]
def functions : Hash(String, Bindgen::Configuration::Function) #

[View source]
def functions=(functions : Hash(String, Bindgen::Configuration::Function)) #

[View source]
def generators : Hash(String, Bindgen::Configuration::Generator) #

Used generators


[View source]
def generators=(generators : Hash(String, Bindgen::Configuration::Generator)) #

Used generators


[View source]
def library : String | Nil #

What to put into @[Link(ldflags: "x")]


[View source]
def library=(library : String | Nil) #

What to put into @[Link(ldflags: "x")]


[View source]
def macros : Hash(String, Bindgen::Configuration::Macro) #

Which macros to wrap


[View source]
def macros=(macros : Hash(String, Bindgen::Configuration::Macro)) #

Which macros to wrap


[View source]
def module : String #

Target Crystal module


[View source]
def module=(module __arg0 : String) #

Target Crystal module


[View source]

Parser configuration


[View source]
def parser=(parser : Bindgen::Parser::Configuration) #

Parser configuration


[View source]
def processors : Array(String) #

Used processors


[View source]
def processors=(processors : Array(String)) #

Used processors


[View source]

Type database configuration


[View source]

Type database configuration


[View source]