Next: Pragma Export_Procedure, Previous: Pragma Export_Function, Up: Implementation Defined Pragmas [Contents][Index]
Syntax:
pragma Export_Object [Internal =>] LOCAL_NAME [, [External =>] EXTERNAL_SYMBOL] [, [Size =>] EXTERNAL_SYMBOL] EXTERNAL_SYMBOL ::= IDENTIFIER | static_string_EXPRESSION
This pragma designates an object as exported, and apart from the
extended rules for external symbols, is identical in effect to the use of
the normal Export
pragma applied to an object. You may use a
separate Export pragma (and you probably should from the point of view
of portability), but it is not required. Size
is syntax checked,
but otherwise ignored by GNAT.