20000417-05:49 GMT+1 Victor Szakats <info@szelvesz.hu>
This commit is contained in:
@@ -1069,7 +1069,7 @@ void hb_itemSwap( PHB_ITEM pItem1, PHB_ITEM pItem2 )
|
||||
hb_itemCopy( pItem1, &temp );
|
||||
hb_itemClear( &temp );
|
||||
|
||||
/* Faster less safe way */
|
||||
/* Faster, but less safe way
|
||||
memcpy( &temp, pItem2, sizeof( HB_ITEM ) );
|
||||
memcpy( pItem2, pItem1, sizeof( HB_ITEM ) );
|
||||
memcpy( pItem1, &temp, sizeof( HB_ITEM ) );
|
||||
|
||||
Reference in New Issue
Block a user