[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
27.1 The syntax of the foreign declarations
The syntax of foreign clauses is defined by:
<extern> → <variable-clause> | <function-clause> | <include-clause> | <export-clause> | <type-clause>
Foreign clauses are automatically “transmitted” by the importation
process. That is, if module module1
imports a module
module2
, module
treats the extern
clauses of
module2
as though they were included in its own module
declaration. Redefinition of a variable or a function already defined in
an foreign clause is an error.
This document was generated on March 31, 2014 using texi2html 5.0.