class Bindgen::CallBuilder::CppToCrystalProc
- Bindgen::CallBuilder::CppToCrystalProc
- Reference
- Object
Overview
Builder for calls made from C++ to Crystal. Used for callbacks, Qt signals and virtual method overrides.
Defined in:
bindgen/call_builder/cpp_to_crystal_proc.crConstructors
Instance Method Summary
-
#build(method : Parser::Method, *, proc_name : String = "_proc_", lambda = false) : Call
Calls the method, using the proc_name to call-through to Crystal.
Constructor Detail
Instance Method Detail
Calls the method, using the proc_name to call-through to Crystal. If lambda is true, instead of invoking the method, builds a C++ lambda expression that wraps the invocation.