2009-11-16 00:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* include/hbdefs.h
    - Deleted HB_ERRCODE. It already existed as HB_ERRCODE, 
      mainly used in RDD. That makes this change a bit more 
      complicated than I thought. Plus two more issues:
      1) Some places use ULONG already to pass error code, 
         changing these to HB_ERRCODE will instantly break 
         binary compatibility.
      2) I wonder if DOSERROR() and friends will stay compatible 
         after moving to ULONG HB_ERRCODE.
    ; Please comment.
This commit is contained in:
Viktor Szakats
2009-11-15 23:01:44 +00:00
parent 44ebc84a8b
commit 43b0619081
2 changed files with 12 additions and 1 deletions

View File

@@ -17,6 +17,18 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-11-16 00:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
- Deleted HB_ERRCODE. It already existed as HB_ERRCODE,
mainly used in RDD. That makes this change a bit more
complicated than I thought. Plus two more issues:
1) Some places use ULONG already to pass error code,
changing these to HB_ERRCODE will instantly break
binary compatibility.
2) I wonder if DOSERROR() and friends will stay compatible
after moving to ULONG HB_ERRCODE.
; Please comment.
2009-11-15 23:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
+ Added HB_ERRCODE. Currently the same as USHORT. Will be

View File

@@ -716,7 +716,6 @@ typedef unsigned int HB_UINT;
typedef double HB_DOUBLE;
typedef ULONG HB_SIZE; /* TOFIX: Change to 'long' */
typedef void * HB_PTRVAL; /* TOFIX */
typedef USHORT HB_ERRCODE; /* TOFIX: Change to 'unsigned int' */
/* typedef HB_POINTER; */ /* TOFIX */
/* Harbour strict bit types: */