class Bindgen::CallBuilder::CrystalBinding
- Bindgen::CallBuilder::CrystalBinding
- Reference
- Object
Overview
Builder for calls made from Crystal to C++. This is used for common bindings of normal methods.
Defined in:
bindgen/call_builder/crystal_binding.crConstructors
Class Method Summary
Instance Method Summary
-
#build(method : Parser::Method, klass_type : Parser::Type | Nil, body = FunBody, explicit_binding : String | Nil = nil, myself_type : Parser::Type | Nil = nil) : Call
explicit_binding only affects the
FunBody
. - #logger
Constructor Detail
Class Method Detail
Instance Method Detail
def build(method : Parser::Method, klass_type : Parser::Type | Nil, body = FunBody, explicit_binding : String | Nil = nil, myself_type : Parser::Type | Nil = nil) : Call
#
explicit_binding only affects the FunBody
.
myself_type is used by superclass wrapper structs to pass the wrapped instance to a lib fun. If it is non-nil, klass_type should be the wrapper struct for myself_type.