ATTRIBUTES EXTERN

The ATTRIBUTES directive option EXTERN specifies that a variable is allocated in another source file. EXTERN can be used in global variable declarations, but it must not be applied to dummy arguments. It takes the following form:

構文

cDEC$ ATTRIBUTES EXTERN :: var

c

Is one of the following: C (or c), !, or *. (See Syntax Rules for Compiler Directives.)

var

Is the variable to be allocated.

This option must be used when accessing variables declared in other languages.

関連情報


このヘルプトピックについてのフィードバックを送信

© 1996-2011 Intel Corporation. 無断での引用、転載を禁じます。