struct Novika::ForeignFunction

Overview

A thin wrapper around FFI::Function.

Included Modules

Defined in:

novika/forms/foreign.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Novika::Schedulable::ShouldOpenWhenScheduled

schedule!(engine : Engine, stack : Block) schedule!

Instance methods inherited from module Novika::Form

a(type : T.class) : T forall T a, desc(io : IO)
desc : String
desc
, die(details : String) die, effect(io)
effect
effect
, on_open(engine : Engine) : self on_open, on_parent_open(engine : Engine) : self on_parent_open, onto(block : Block) : self onto, sel(a, b) sel, to_quote : Quote to_quote

Instance methods inherited from module Novika::Schedulable

schedule(engine : Engine, stack : Block) schedule, schedule!(engine : Engine, stack : Block) schedule!

Constructor Detail

def self.new(library : Library, function : FFI::Function, comment : String | Nil) #

Class Method Detail

def self.typedesc #

Instance Method Detail

def desc(io) #

def on_open(engine : Engine) : self #
Description copied from module Novika::Form

Reacts to this form being opened with engine.


def to_s(io) #