class

Bindgen::CallBuilder::CppMethod::PureBody

Inherits Bindgen::CallBuilder::CppMethod::OverridingBody < Bindgen::CallBuilder::CppMethod::Body < Bindgen::Call::Body < Reference < Object

Body for pure targets: there's no C++ implementation to fall back to. Without an override, or once the Crystal object was collected, which only happens to an object C++ kept without the binding knowing, the program panics.

Instance methods

code_body(const, call, platform, result_type)

The body, with the result type of the method as result_type, or nil for void.

Source