module Rubellite::ExportDispatcher

Overview

Internal dispatcher for Crystal procs exported to CRuby

Defined in:

rubellite/macros.cr

Class Method Summary

Class Method Detail

def self.dispatch_instance(argc : Int32, argv : Pointer(LibRuby::Value), self_val : LibRuby::Value) : LibRuby::Value #

[View source]
def self.dispatch_singleton(argc : Int32, argv : Pointer(LibRuby::Value), self_val : LibRuby::Value) : LibRuby::Value #

[View source]
def self.register_instance(klass : String, name : String, &block : Array(Value) -> Value) #

[View source]
def self.register_singleton(name : String, &block : Array(Value) -> Value) #

[View source]