module
Rubellite::ExportDispatcher
Overview
Internal dispatcher for Crystal procs exported to CRuby
Defined in:
rubellite/macros.crClass Method Summary
- .dispatch_instance(argc : Int32, argv : Pointer(LibRuby::Value), self_val : LibRuby::Value) : LibRuby::Value
- .dispatch_singleton(argc : Int32, argv : Pointer(LibRuby::Value), self_val : LibRuby::Value) : LibRuby::Value
- .register_instance(klass : String, name : String, &block : Array(Value) -> Value)
- .register_singleton(name : String, &block : Array(Value) -> Value)
Class Method Detail
def self.dispatch_instance(argc : Int32, argv : Pointer(LibRuby::Value), self_val : LibRuby::Value) : LibRuby::Value
#
def self.dispatch_singleton(argc : Int32, argv : Pointer(LibRuby::Value), self_val : LibRuby::Value) : LibRuby::Value
#