Adaption of parameters |
Top Previous Next |
What is translated > Routines > Adaption of parameters
When parameters are passed to functions in the Delphi source code, the translator tries to match the signature of the function with the type of the variable which is passed. The function call:
Print(a);
might be translated as one of the following alternatives:
Print( a ); Print( &a ); Print( a.c_str() );
E.g. the signature of Print might be:
procedure Print(const Buffer);
and the parameters might be of the type Integer or void* or String. |
This page belongs to the DelphiXE2Cpp11 Documentation |
DelphiXE2Cpp11 home Content |