module Glue
Defined in:
ext/glue.crClass Method Summary
-
.wrap_procedure(procedure : Proc)
Wraps
Proc
to aBinding::CrystalProcedure
, which can then passed on to C++. -
.wrap_procedure(nothing : Nil)
Wraps
Proc
to aBinding::CrystalProcedure
, 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_procedure(procedure : Proc)
#
Wraps Proc
to a Binding::CrystalProcedure
, which can then passed on to C++.
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.
Macro Detail
macro wrap_container(wrapper, list)
#
Wraps a list into a container wrapper, if it's not already one.