$EXTERNALSYM

Top  Previous  Next

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

 

The EXTERNALSYM directive prevents the specified Pascal symbol from appearing in C++ header files. This directive is used for types, which already are defined in the API of the operation system. For Delphi these types have to be redefined, for C++ not.

 

Delphi2Cpp II doesn't output code parts, which are marked with the EXTERNALSYM directive if the according option is enabled.

 

Syntax:        

 

{$EXTERNALSYM identifier}

 

Example:

 

type

  size_t : LongWord;

  {$EXTERNALSYM size_t}

 

 

 



This page belongs to the DelphiXE2Cpp11 Documentation

DelphiXE2Cpp11 home  Content