module RayLib::BindgenHelper

Overview

Helpers for bindings. Required.

Defined in:

raylib/binding/binding.cr

Class Method Summary

Macro Summary

Class Method Detail

def self.wrap_proc(proc : Proc) #

Wraps Proc to a Binding::CrystalProc, which can then passed on to C++.


[View source]
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.


[View source]

Macro Detail

macro wrap_container(wrapper, list) #

Wraps a list into a container wrapper, if it's not already one.


[View source]