2012-06-10 17:19 UTC+0200 Viktor Szakats (harbour syenar.net)

* include/hbapi.h
    ! minor correction to compatibility macro definition
This commit is contained in:
Viktor Szakats
2012-06-10 15:20:32 +00:00
parent 2934968133
commit 851b8d63d2
2 changed files with 10 additions and 6 deletions

View File

@@ -16,6 +16,10 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-06-10 17:19 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hbapi.h
! minor correction to compatibility macro definition
2012-06-10 16:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbziparc/ziparc.prg
! fixed using old IS*() macro w/o common.ch

View File

@@ -449,12 +449,6 @@ typedef struct _HB_CODEBLOCK
HB_SHORT dynBuffer; /* is pcode buffer allocated dynamically, SHORT used instead of HB_BOOL intentionally to force optimal alignment */
} HB_CODEBLOCK, * HB_CODEBLOCK_PTR;
#if defined( HB_LEGACY_LEVEL4 )
# define HB_ITEM_PTR PHB_ITEM
# define HB_BASEARRAY_PTR PHB_BASEARRAY
# define PHB_CODEBLOCK HB_CODEBLOCK_PTR
#endif
typedef void ( * HB_EXTREF_FUNC0 )( void * );
typedef PHB_ITEM ( * HB_EXTREF_FUNC1 )( PHB_ITEM );
typedef PHB_ITEM ( * HB_EXTREF_FUNC2 )( PHB_ITEM, PHB_ITEM );
@@ -534,6 +528,12 @@ extern void * hb_xRefResize( void * pMem, HB_SIZE nSave, HB_SIZE nSize, HB_S
#endif /* _HB_API_INTERNAL_ */
#if defined( HB_LEGACY_LEVEL4 )
# define HB_ITEM_PTR PHB_ITEM
# define HB_BASEARRAY_PTR PHB_BASEARRAY
# define PHB_CODEBLOCK HB_CODEBLOCK_PTR
#endif
#define hb_xgrabz( n ) memset( hb_xgrab( ( n ) ), 0, ( n ) )
#define hb_xmemdup( p, n ) memcpy( hb_xgrab( ( n ) ), ( p ), ( n ) )