Show: Object Pascal C++
Display Preferences

External Symbols (Object Pascal)

From Appmethod Topics
Jump to: navigation, search

Go Up to Object Pascal Compiler Directives (List) Index

Type

Parameter

Syntax

{$EXTERNALSYM identifier [ 'typeNameInHpp' [ 'typeNameInHppUnion' ]]}



Used when generating header files for consumption by Appmethod C++.

The EXTERNALSYM directive prevents the specified Object Pascal symbol from appearing in header files generated for C++. If an overloaded routine is specified, all versions of the routine are excluded from the header file.

The 'typeNameInHpp' and 'typeNameInHppUnion' fields work as follows:

  • You can specify both of these two, or one of them, or neither of them.
  • 'typeNameInHpp' is the name that is emitted when using the symbol.
  • 'typeNameInHppUnion' is the name that is used if the symbol is declared inside a union (variant section of Pascal record type).

See Also

Personal tools
In other languages