module

RubyExts

Constants

CrystalObject = Ruby::Class.new("CrystalObject")

Generic wrapper for sending Crystal objects to Ruby

Roots = Set(::Pointer(Void)).new

Keep references to a set of objects sent to Ruby, to prevent them from being GC'ed

VERSION = "0.1.0"

Class methods

add_root(obj)
Source
free_root(obj)
Source
global_def(name, args, f)
Source

Macros

ruby_global_def(method_name, *args)
Source
wrap_init(init_name)
Source