Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Foreign Functions

A foreign function is declared as

  ffunction(<function-declaration>, <include-file>, <library>)
where the function-declaration must be of the form
  <type> fn(<type>);
where <type> is either int or float. In addition, the input type can be omitted, indicating no input argument. Thus, <function-declaration> means one of the following:
  int fn(int);
  int fn(float);
  float fn(int);
  float fn(float);
  int fn(); // not 'fn(void)'
  float fn();


Subsections
Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Download aspf.pdf
[Comment on this page via email]

``Audio Signal Processing in Faust'', by Julius O. Smith III.
Copyright © 2022-05-05 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA