class

Bindgen::CallBuilder::CppToCrystalProc::LambdaBody

Inherits Bindgen::Call::Body < Reference < Object

Lambda expression. Captures the CrystalProc by value (therefore it is not convertible to a C function pointer), or whatever capture says.

Constructors

new(capture : String | Nil = nil)
Source

Instance methods

to_code(call : Call, platform : Graph::Platform) : String

Will be called by a Generator later on, passing in the call and the target platform.

Source