module RayLib::BindgenHelper
Overview
Helpers for bindings. Required.
Defined in:
raylib/binding/binding.crClass Method Summary
-
.wrap_proc(proc : Proc)
Wraps
Proc
to aBinding::CrystalProc
, which can then passed on to C++. -
.wrap_proc(nothing : Nil)
Wraps
Proc
to aBinding::CrystalProc
, which can then passed on to C++.
Macro Summary
-
wrap_container(wrapper, list)
Wraps a list into a container wrapper, if it's not already one.
Class Method Detail
def self.wrap_proc(proc : Proc)
#
Wraps Proc
to a Binding::CrystalProc
, which can then passed on to C++.
def self.wrap_proc(nothing : Nil)
#
Wraps Proc
to a Binding::CrystalProc
, which can then passed on to C++.
Nil
version, returns a null-proc.
Macro Detail
macro wrap_container(wrapper, list)
#
Wraps a list into a container wrapper, if it's not already one.