[fpc-devel] New language idea: Unified types(assignmentsize-compatible types).

Skybuck Flying skybuck2000 at hotmail.com
Mon Jun 20 17:58:49 CEST 2011


Not really, because if the platform changes from 32 bit to 64 bit then other 
types would change too.

For example type declared as being longword would change to uint64.

So the only thing which needs to happen is a changed to TUnifiedAddress for 
example.

was:

TUnifiedAddress = unify longword pointer;

becomes:

TUnifiedAddress = unify uint64 pointer;

additional example for longword:

was:

TExternalPointer = longword;

becomes:

TExternalPointer = uint64;

Bye,
  Skybuck. 




More information about the fpc-devel mailing list