Simple type identifiers

Top  Previous  Next

What is translated > Simple type identifiers


Simple type names for the special C++ expansions of the CBuilders are required now and then. While e.g. the type "cardinal " usually is translated as " unsigned int", this 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