Hi All,

Here is my plan to change Windows/legacy/colliding
basic types to proper ones.

Some notes:
- First stage is a simple search and replace operation,
  no logic is changed, no signedness is changed and no
  variable size is changed.
  This means binary compatibility is also guaranteed.
- 3rd parties aren't affected, since the legacy types
  will still be offered. The only goal here is to clean
  out own sources from them as a preparation.
- After these changes we can move on to remove windows.h
  inclusion hack, and enable some contribs which are
  currently impossible to build on some platforms due to
  type collisions.

First stage (assigned to me):

LONGLONG  -> hbLongLong
ULONGLONG -> hbULongLong
INT16     -> hbI16
UINT16    -> hbU16
INT32     -> hbI32
UINT32    -> hbU32
INT64     -> hbI64
UINT64    -> hbU64
BOOL      -> hbBool
ULONG     -> hbULong
LONG      -> long     [DONE]
UINT      -> hbUInt
SHORT     -> hbShort
USHORT    -> hbUShort
SCHAR     -> hbSChar
UCHAR     -> hbUChar

Second stage (optional, not assigned to me):

hbULong / long -> hbSize [change in signedness]
hbUShort       -> hbCounter [where needed]
BYTE -> char [change] / hbUChar [change in signedness on some platforms]
double         -> hbDouble [where needed]

Third stage:
Clean HB_PTRDIFF and similar types, other various cleanups.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to