class

Bindgen::Configuration

Inherits YAML::Serializable < Reference < Object

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

Constructors

new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

builtin_out_arguments=(builtin_out_arguments : Bool)

Take every non-const reference or pointer to a built-in type or an enum a method writes through, like bool *ok or int &, as an out argument, returned with the result (SPEC.md §2.2.5), not only in a method with a converted one. Pointers to byte and character types, buffers, excepted.

Source
builtin_out_arguments?

Take every non-const reference or pointer to a built-in type or an enum a method writes through, like bool *ok or int &, as an out argument, returned with the result (SPEC.md §2.2.5), not only in a method with a converted one. Pointers to byte and character types, buffers, excepted.

Source
classes

Which classes to wrap

Source
classes=(classes : Hash(String, String))

Which classes to wrap

Source
containers

Which templates to instantiate

Source
containers=(containers : Array(Bindgen::Configuration::Container))

Which templates to instantiate

Source
cookbook

Cookbook to use for templates

Source
cookbook=(cookbook : String)

Cookbook to use for templates

Source
enums

Which enums to wrap

Source

Which enums to wrap

Source
find_paths

Find path configuration

Source
find_paths=(find_paths : Bindgen::FindPath::Configuration | Nil)

Find path configuration

Source
functions

Which functions to wrap

Source
functions=(functions : Hash(String, Bindgen::Configuration::Function))

Which functions to wrap

Source
generators

Used generators

Source
generators=(generators : Hash(String, Bindgen::Configuration::Generator))

Used generators

Source
ignore_deprecated=(ignore_deprecated : Bool)

Drop the methods declared [[deprecated]], in filter_methods.

Source
ignore_deprecated?

Drop the methods declared [[deprecated]], in filter_methods.

Source
ignore_methods

Methods to drop in every class, and functions, by name, signature or regular expression like the ignore_methods of a type rule, see TypeDatabase::MethodPattern.

Source
ignore_methods=(ignore_methods : Array(Bindgen::TypeDatabase::MethodPattern))

Methods to drop in every class, and functions, by name, signature or regular expression like the ignore_methods of a type rule, see TypeDatabase::MethodPattern.

Source
library

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

Source
library=(library : String | Nil)

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

Source
macros

Which macros to wrap

Source

Which macros to wrap

Source
member_functions

Free functions bound as methods of the class of their first parameter, like friend operators are: [qHash]. The parameter becomes self, the method is const if it is.

Source
member_functions=(member_functions : Array(String))

Free functions bound as methods of the class of their first parameter, like friend operators are: [qHash]. The parameter becomes self, the method is const if it is.

Source
module

Target Crystal module

Source
module=(module __arg0 : String)

Target Crystal module

Source
nilable_results=(nilable_results : Bool)

Return nil for a null pointer to a wrapped class, so such results are T?. Otherwise a wrapper of a null pointer is returned.

Source
nilable_results?

Return nil for a null pointer to a wrapped class, so such results are T?. Otherwise a wrapper of a null pointer is returned.

Source
parser

Parser configuration

Source

Parser configuration

Source
processors

Used processors

Source
processors=(processors : Array(String))

Used processors

Source
types

Type database configuration

Source

Type database configuration

Source

Nested types