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 #

[View source]

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).


[View source]
abstract def id : String #

Returns the identifier of this function.


[View source]
def initialize #

[View source]