2025-11-17 14:14 UTC+0200 Aleksander Czajczynski (hb fki.pl) [ci skip]
; sync macros in-line with Viktor's fork:
2015-06-16 01:41 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* include/hbdefs.h
+ add HB_PUT_UINT64(), HB_GET_UINT64() macros
This commit is contained in:
@@ -7,6 +7,12 @@
|
|||||||
Entries may not always be in chronological/commit order.
|
Entries may not always be in chronological/commit order.
|
||||||
See license at the end of file. */
|
See license at the end of file. */
|
||||||
|
|
||||||
|
2025-11-17 14:14 UTC+0200 Aleksander Czajczynski (hb fki.pl)
|
||||||
|
; sync macros in-line with Viktor's fork:
|
||||||
|
2015-06-16 01:41 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
|
||||||
|
* include/hbdefs.h
|
||||||
|
+ add HB_PUT_UINT64(), HB_GET_UINT64() macros
|
||||||
|
|
||||||
2025-11-17 09:58 UTC+0200 Aleksander Czajczynski (hb fki.pl)
|
2025-11-17 09:58 UTC+0200 Aleksander Czajczynski (hb fki.pl)
|
||||||
+ include/hbcrypto.h
|
+ include/hbcrypto.h
|
||||||
! actually add the file, missed from the push...
|
! actually add the file, missed from the push...
|
||||||
|
|||||||
@@ -846,9 +846,13 @@ typedef HB_U32 HB_FATTR;
|
|||||||
#if defined( HB_BIG_ENDIAN )
|
#if defined( HB_BIG_ENDIAN )
|
||||||
# define HB_PUT_UINT32( p, v ) HB_PUT_BE_UINT32( p, ( HB_U32 ) ( v ) )
|
# define HB_PUT_UINT32( p, v ) HB_PUT_BE_UINT32( p, ( HB_U32 ) ( v ) )
|
||||||
# define HB_GET_UINT32( p ) HB_GET_BE_UINT32( p )
|
# define HB_GET_UINT32( p ) HB_GET_BE_UINT32( p )
|
||||||
|
# define HB_PUT_UINT64( p, v ) HB_PUT_BE_UINT64( p, ( HB_U64 ) ( v ) )
|
||||||
|
# define HB_GET_UINT64( p ) HB_GET_BE_UINT64( p )
|
||||||
#else
|
#else
|
||||||
# define HB_PUT_UINT32( p, v ) HB_PUT_LE_UINT32( p, ( HB_U32 ) ( v ) )
|
# define HB_PUT_UINT32( p, v ) HB_PUT_LE_UINT32( p, ( HB_U32 ) ( v ) )
|
||||||
# define HB_GET_UINT32( p ) HB_GET_LE_UINT32( p )
|
# define HB_GET_UINT32( p ) HB_GET_LE_UINT32( p )
|
||||||
|
# define HB_PUT_UINT64( p, v ) HB_PUT_LE_UINT64( p, ( HB_U64 ) ( v ) )
|
||||||
|
# define HB_GET_UINT64( p ) HB_GET_LE_UINT64( p )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Macros to store/retrieve integer and double values at/from byte address */
|
/* Macros to store/retrieve integer and double values at/from byte address */
|
||||||
|
|||||||
Reference in New Issue
Block a user