class

Bindgen::Processor::WrapperHooks::OwnerHook

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

Post-hook of a wrapper method passing self and its owner argument to BindgenHelper.owned_by, which keeps self alive while the owner isn't nil, and lets it go given nil.

Constructors

new(owner : 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