Vocabularyalien.syntaxSyntaxFUNCTION-ALIAS: factor-name
return c_name ( parameters ) ;
Inputs and outputs| factor-name | a Factor word name |
| return | a C return type |
| name | a C function name |
| parameters | a comma-separated sequence of type/name pairs; type1 arg1, type2 arg2, ... |
Word descriptionDefines a new word
factor-name which calls the C library function named
c_name in the logical library given by the most recent
LIBRARY: declaration.
The new word must be compiled before being executed.
NotesNote that the parentheses and commas are only syntax sugar and can be omitted. They serve no purpose other than to make the declaration easier to read.
See alsoFUNCTION:Definition