SUBROUTINE:
Fortran FFI
Prev:FUNCTION:
Next:fortran-invoke ( return library function parameters -- quot )


Vocabulary
alien.fortran

Syntax
SUBROUTINE: NAME ( [!]ARGUMENT-TYPE NAME, ... ) ;


Word description
Declares a Fortran subroutine binding with the given arguments. See Fortran types for a list of supported types.

Definition
USING: alien.parser kernel lexer namespaces sequences ;

IN: alien.fortran

SYNTAX: SUBROUTINE:
f current-library get scan-token ";" parse-tokens
[ "()" subseq? not ] filter define-fortran-function ;