$EXTERNALSYM

Top  Previous  Next

Pretranslated C++ code > Preparing Delphi code > Delphi directives to support CBuilder > $EXTERNALSYM

 

The EXTERNALSYM directive prevents the specified Pascal symbol from appearing in C++ header files. This might be useful if a type has to be defined in Delphi and the type is defined in C++ elsewhere.

In Delphi2Cpp there is no difference between this directive and the NODEFINE direktive.

 

Syntax:        

 

{$EXTERNALSYM identifier}

 

Example:

 

type

  size_t : LongWord;

  {$EXTERNALSYM size_t}

 

 



This page belongs to the Delphi2Cpp Documentation

Delphi2Cpp home  Content