Tags: | compiler, ffi |
Authors: | Slava Pestov |
alien |
dll |
Class | Superclass | Slots |
callsite-not-compiled | tuple | word |
cdecl |
fastcall |
mingw |
stdcall |
thiscall |
Class | Superclass |
pinned-alien | alien |
abi |
c-ptr |
pinned-c-ptr |
Word | Stack effect |
>c-ptr | ( obj -- c-ptr ) |
byte-length | ( obj -- n ) |
element-size | ( seq -- n ) |
expired? | ( c-ptr -- ? ) |
Word | Stack effect |
<callback> | ( word return-rewind -- alien ) |
<displaced-alien> | ( displacement c-ptr -- alien ) |
alien-address | ( c-ptr -- addr ) |
free-callback | ( alien -- ) |
Word | Stack effect |
<alien> | ( address -- alien ) |
<bad-alien> | ( -- alien ) |
alien-assembly | ( args... return parameters abi quot -- return... ) |
alien-callback | ( return parameters abi quot -- alien ) |
alien-indirect | ( args... funcptr return parameters abi -- return... ) |
alien-invoke | ( args... return library function parameters varargs? -- return... ) |
binary-object | ( obj -- c-ptr n ) |
callee-cleanup? | ( abi -- ? ) |
callsite-not-compiled | ( word -- * ) |
initialize-alien | ( symbol quot -- ) |
unregister-and-free-callback | ( alien -- ) |
with-callback | ( alien quot -- ) |
Word | Stack effect |
abi? | ( object -- ? ) |
alien? | ( object -- ? ) |
c-ptr? | ( object -- ? ) |
callsite-not-compiled? | ( object -- ? ) |
cdecl? | ( object -- ? ) |
dll? | ( object -- ? ) |
fastcall? | ( object -- ? ) |
mingw? | ( object -- ? ) |
pinned-alien? | ( object -- ? ) |
pinned-c-ptr? | ( object -- ? ) |
stdcall? | ( object -- ? ) |
thiscall? | ( object -- ? ) |
Vocabulary | Summary |
alien.accessors | Support reading and writing alien memory. |
alien.strings | Passing Factor strings as C strings and vice versa |
Vocabulary | Summary |
alien.arrays | C array support |
alien.c-types | C data type support |
alien.complex | Implementation details for C99 complex float and complex double types |
alien.data | Words for allocating objects and arrays of C types |
alien.destructors | Functor for defining destructors which call a C function to dispose of resources |
alien.endian | |
alien.enums | |
alien.libraries | |
alien.parser | Utilities used in implementation of alien parsing words |
alien.prettyprint | Prettyprinting aliens and DLLs |
alien.remote-control | Support for embedding Factor in other applications |
alien.syntax | C library interface parsing words |
alien.utilities |
Vocabulary | Summary |
alien.cxx | |
alien.data | Words for allocating objects and arrays of C types |
alien.fortran | GNU Fortran/G77/F2C alien interface |
alien.handles | Generate integer handle values to allow Factor object references to be passed through the FFI |
Vocabulary | Summary |
alien.private |