class
Bindgen::CallBuilder::CppMethod::PureBody
- Bindgen::CallBuilder::CppMethod::PureBody
- Bindgen::CallBuilder::CppMethod::OverridingBody
- Bindgen::CallBuilder::CppMethod::Body
- Bindgen::Call::Body
- Reference
- Object
Overview
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.
Defined in:
bindgen/call_builder/cpp_method.crInstance Method Summary
-
#code_body(const, call, platform, result_type)
The body, with the result type of the method as result_type, or
nilforvoid.
Instance methods inherited from class Bindgen::CallBuilder::CppMethod::OverridingBody
overriding? : Bool
overriding?
Constructor methods inherited from class Bindgen::CallBuilder::CppMethod::OverridingBody
new(class __arg0 : String, wrapped_class : String, virtual_target : Call)
new
Instance methods inherited from class Bindgen::CallBuilder::CppMethod::Body
code_body(const, call, platform, result_type)
code_body,
overriding? : Bool
overriding?,
to_code(call : Call, platform : Graph::Platform) : String
to_code
Instance methods inherited from class Bindgen::Call::Body
to_code(call : Call, platform : Graph::Platform) : String
to_code
Instance Method Detail
def code_body(const, call, platform, result_type)
#
Description copied from class Bindgen::CallBuilder::CppMethod::Body
The body, with the result type of the method as result_type, or
nil for void.