abstract struct Novika::FFI::Function

Overview

Base type for C function call interfaces.

Direct Known Subclasses

Defined in:

novika/ffi.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Instance Method Detail

abstract def call(block : Block) : Form | Nil #

Drops arguments from block and calls this function. Returns the resulting form, or nil in case this function returns Nothing (C void).


abstract def id : String #

Returns the identifier of this function.


def initialize #