toka.nbk: Home | Index | Next Page: Files | Previous Page: FFI


 ffi.c

Use

Implements the Foreign Function Interface, which allows use of external libraries.

Functions Provided

Variables:
  void *library
  Pointer to the most recently opened library

ffi_invoke()
Call a foreign function. This translates between
Toka and CDECL calling conventions.

ffi_from()
Select a library to load from.

ffi_import()
Import and name an external function. This wraps
the imported function in a quote.

ffi_rename()
Rename the most recently defined word in the
dictionary.

Primitives Provided

from
import
as

toka.nbk: Home | Index | Next Page: Files | Previous Page: FFI


Notebook exported on Sunday, 1 July 2007, 19:54:43 PM EDT