class
Bindgen::Configuration
- Bindgen::Configuration
- Reference
- Object
Overview
Configuration as read from the .yml file passed to bindgen as
program parameter.
Included Modules
- YAML::Serializable
Defined in:
bindgen/configuration.crConstructors
Instance Method Summary
-
#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 *okorint &, as an out argument, returned with the result (SPEC.md §2.2.5), not only in a method with a converted one. -
#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 *okorint &, as an out argument, returned with the result (SPEC.md §2.2.5), not only in a method with a converted one. -
#classes : Hash(String, String)
Which classes to wrap
-
#classes=(classes : Hash(String, String))
Which classes to wrap
-
#containers : Array(Bindgen::Configuration::Container)
Which templates to instantiate
-
#containers=(containers : Array(Bindgen::Configuration::Container))
Which templates to instantiate
-
#cookbook : String
Cookbook to use for templates
-
#cookbook=(cookbook : String)
Cookbook to use for templates
-
#enums : Hash(String, Bindgen::Configuration::Enum)
Which enums to wrap
-
#enums=(enums : Hash(String, Bindgen::Configuration::Enum))
Which enums to wrap
-
#find_paths : Bindgen::FindPath::Configuration | Nil
Find path configuration
-
#find_paths=(find_paths : Bindgen::FindPath::Configuration | Nil)
Find path configuration
-
#functions : Hash(String, Bindgen::Configuration::Function)
Which functions to wrap
-
#functions=(functions : Hash(String, Bindgen::Configuration::Function))
Which functions to wrap
-
#generators : Hash(String, Bindgen::Configuration::Generator)
Used generators
-
#generators=(generators : Hash(String, Bindgen::Configuration::Generator))
Used generators
-
#ignore_deprecated=(ignore_deprecated : Bool)
Drop the methods declared
[[deprecated]], infilter_methods. -
#ignore_deprecated? : Bool
Drop the methods declared
[[deprecated]], infilter_methods. -
#ignore_methods : Array(Bindgen::TypeDatabase::MethodPattern)
Methods to drop in every class, and functions, by name, signature or regular expression like the
#ignore_methodsof a type rule, seeTypeDatabase::MethodPattern. -
#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_methodsof a type rule, seeTypeDatabase::MethodPattern. -
#library : String | Nil
What to put into
@[Link(ldflags: "x")] -
#library=(library : String | Nil)
What to put into
@[Link(ldflags: "x")] -
#macros : Hash(String, Bindgen::Configuration::Macro)
Which macros to wrap
-
#macros=(macros : Hash(String, Bindgen::Configuration::Macro))
Which macros to wrap
-
#member_functions : Array(String)
Free functions bound as methods of the class of their first parameter, like friend operators are:
[qHash]. -
#member_functions=(member_functions : Array(String))
Free functions bound as methods of the class of their first parameter, like friend operators are:
[qHash]. -
#module : String
Target Crystal module
-
#module=(module __arg0 : String)
Target Crystal module
-
#nilable_results=(nilable_results : Bool)
Return
nilfor a null pointer to a wrapped class, so such results areT?. -
#nilable_results? : Bool
Return
nilfor a null pointer to a wrapped class, so such results areT?. -
#parser : Bindgen::Parser::Configuration
Parser configuration
-
#parser=(parser : Bindgen::Parser::Configuration)
Parser configuration
-
#processors : Array(String)
Used processors
-
#processors=(processors : Array(String))
Used processors
-
#types : Bindgen::TypeDatabase::Configuration
Type database configuration
-
#types=(types : Bindgen::TypeDatabase::Configuration)
Type database configuration
Constructor Detail
Instance Method Detail
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.
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.
Which templates to instantiate
Which functions to wrap
Drop the methods declared [[deprecated]], in filter_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.
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.
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.
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.
Return nil for a null pointer to a wrapped class, so such results are
T?. Otherwise a wrapper of a null pointer is returned.
Return nil for a null pointer to a wrapped class, so such results are
T?. Otherwise a wrapper of a null pointer is returned.