module Glue

Defined in:

ext/glue.cr

Class Method Summary

Macro Summary

Class Method Detail

def self.wrap_procedure(procedure : Proc) #

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


[View source]
def self.wrap_procedure(nothing : Nil) #

Wraps Proc to a Binding::CrystalProcedure, 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]