Bindgen::CallBuilder::CrystalBinding
Builder for calls made from Crystal to C++. This is used for common bindings of normal methods.
Constants
Log = ::Log.for(self)
Constructors
new(db : TypeDatabase)
SourceInstance methods
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.