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 therefore produces a type definition for a simple identifier:
typedef unsigned int unsignedint; __property unsignedint testprop = { read = GetProp };
|
This page belongs to the Delphi2Cpp Documentation |
Delphi2Cpp home Content |