2009-07-10 04:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
- Deleted HB_RESULT. We already have HB_ERRCODE.
* source/main/harbour.c
* hb_xquery() parameter type updated.
This commit is contained in:
@@ -17,6 +17,13 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-07-10 04:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* include/hbdefs.h
|
||||
- Deleted HB_RESULT. We already have HB_ERRCODE.
|
||||
|
||||
* source/main/harbour.c
|
||||
* hb_xquery() parameter type updated.
|
||||
|
||||
2009-07-10 04:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* include/hbdefs.h
|
||||
+ Added HB_RESULT. This is meant to replace current USHORT used
|
||||
|
||||
@@ -726,9 +726,6 @@ typedef unsigned char hbU8;
|
||||
HB_IT_LONG due to performance reduction. */
|
||||
typedef long hbVMIntMax; /* TOFIX */
|
||||
|
||||
/* To replace error codes. */
|
||||
#define HB_RESULT hbUShort
|
||||
|
||||
#define HB_MAX( a, b ) ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) )
|
||||
#define HB_MIN( a, b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) )
|
||||
|
||||
|
||||
@@ -224,12 +224,12 @@ void hb_xfree( void * pMem ) /* frees fixed memory */
|
||||
hb_errInternal( HB_EI_XFREENULL, "hb_xfree called with a NULL pointer", NULL, NULL );
|
||||
}
|
||||
|
||||
ULONG hb_xquery( USHORT uiMode )
|
||||
ULONG hb_xquery( int iMode )
|
||||
{
|
||||
ULONG ulResult = 0;
|
||||
|
||||
#ifdef HB_FM_STATISTICS
|
||||
switch( uiMode )
|
||||
switch( iMode )
|
||||
{
|
||||
case HB_MEM_USED:
|
||||
ulResult = s_ulMemoryConsumed;
|
||||
@@ -240,7 +240,7 @@ ULONG hb_xquery( USHORT uiMode )
|
||||
break;
|
||||
}
|
||||
#else
|
||||
HB_SYMBOL_UNUSED( uiMode );
|
||||
HB_SYMBOL_UNUSED( iMode );
|
||||
#endif
|
||||
return ulResult;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user