class Bindgen::Processor::Inheritance::DiscoverCppBody

Overview

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.

Defined in:

bindgen/processor/inheritance.cr

Constructors

Instance Method Summary

Instance methods inherited from class Bindgen::Call::Body

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

Constructor Detail

def self.new(klass : Graph::Class, descendants : Array(Graph::Class)) #

[View source]

Instance Method Detail

def to_code(call : Call, platform : Graph::Platform) : String #
Description copied from class Bindgen::Call::Body

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


[View source]