Simple type identifiers

Top  Previous  Next

What is translated > Tokens > Simple type identifiers

 

How built-in type identifiers are substituted at the translation can be seen and set at the type options. However, for C++Builder there are additional restrictions.

While e.g. the type Cardinal usually is translated as unsigned int, the space inside of the name isn't permitted in the following context:

 

property testprop: cardinal read GetProp;

 

Delphi2Cpp II therefore produces a type definition for a simple identifier:

typedef unsigned int unsignedint;

__property unsignedint testprop = { read = GetProp };

 

 

 



This page belongs to the DelphiXE2Cpp11 Documentation

DelphiXE2Cpp11 home  Content