C type specifiers
Factor handbook > C library interface > Passing data between Factor and C

Next:Passing pointers to C functions


C types are identified by special words. Type names occur as parameters to the alien-invoke, alien-indirect and alien-callback words.

Defining new C types:
STRUCT:

UNION-STRUCT:

CALLBACK:

TYPEDEF:


Getting the c-type of a class:
lookup-c-type ( name -- c-type )


Related articles
Primitive C types
Pointer and array types
Word name clashes with C types
Struct and union types