class

Bindgen::Processor::Inheritance::DiscoverCppBody

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

C++ body of the DISCOVER function of a class, see #add_discovery_method: a BindgenTypeDiscovery table of its descendants, numbered from 1 in their order.

Constructors

new(klass : Graph::Class, descendants : Array(Graph::Class))
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