class

Bindgen::CallBuilder::CppCall::DependsOnBody

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

Body of a constructor allocating a CrystalGCWrapper, which stores the arguments at indices in the new object through bindgen_depends_on, so the GC destroys it before them. See depends_on:.

Constructors

new(indices : Array(Int32))
Source

Class methods

dependencies(call : Call, indices : Array(Int32)) : String

The arguments at indices of call, as pointers.

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