class Wren::Config

Defined in:

wren/config.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def _config_ptr : Pointer(LibWren::Configuration) #

[View source]
def bind_foreign_class(&block : LibWren::BindForeignClassFn) #

Overriding this method will break Wren::VM#bind_class


[View source]
def bind_foreign_method(&block : LibWren::BindForeignMethodFn) #

Overriding this method will break Wren::VM#bind_method


[View source]
def error(&block : LibWren::ErrorFn) #

[View source]
def load_module(&block : LibWren::LoadModuleFn) #

Overriding this method will break the default module implementation utilizing Wren::VM.module_dirs


[View source]
def reallocate(&block : LibWren::ReallocateFn) #

[View source]
def resolve_module(&block : LibWren::ResolveModuleFn) #

[View source]
def user_data : UserData #

[View source]
def write(&block : LibWren::WriteFn) #

[View source]

Macro Detail

macro bind_fn(name) #

[View source]