Bindgen::Call::TupleResult
Inherits Bindgen::Call::Result < Bindgen::Call::Expression < Reference < Object
The result of a Crystal wrapper method with out arguments: the method's
own result, inner, unless it returns void, followed by the values
of the out arguments, as the expressions reading them from their
locals. Written as a tuple, or as the value alone if it's the only
element. The type is the method's return type, so pure_void? tells
whether inner is set.
Constructors
new(type, type_name, inner : Bindgen::Call::Result | Nil, values : Array(Bindgen::Call::Result), expressions : Array(String))
SourceInstance methods
expressions
Sourceinner
SourceThe expression of the result, with code being the method's own
result, converted by inner. code is ignored for a void method,
whose caller runs it as a statement before.
values
Source