Next: Pragma Import_Procedure, Previous: Pragma Import_Function, Up: Implementation Defined Pragmas
pragma Import_Object [Internal =>] LOCAL_NAME, [, [External =>] EXTERNAL_SYMBOL], [, [Size =>] EXTERNAL_SYMBOL]); EXTERNAL_SYMBOL ::= IDENTIFIER | static_string_EXPRESSION
This pragma designates an object as imported, and apart from the
extended rules for external symbols, is identical in effect to the use of
the normal Import
pragma applied to an object. Unlike the
subprogram case, you need not use a separate Import
pragma,
although you may do so (and probably should do so from a portability
point of view). size is syntax checked, but otherwise ignored by
GNAT.