class

Bindgen::Processor::WrapperHooks::KeepAliveHook

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

Pre-hook of a wrapper method passing the arguments to BindgenHelper.keep_alive.

Constructors

new(arguments : Array(Call::Argument))
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