20000417-05:49 GMT+1 Victor Szakats <info@szelvesz.hu>

This commit is contained in:
Viktor Szakats
2000-04-17 03:55:32 +00:00
parent d83652a4a0
commit 7175a8d821

View File

@@ -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 ) );