added section titles to hcl-utl.h
This commit is contained in:
parent
fd99432186
commit
4e4ac37dec
@ -29,10 +29,9 @@
|
|||||||
|
|
||||||
#include "hcl-cmn.h"
|
#include "hcl-cmn.h"
|
||||||
|
|
||||||
|
/* =========================================================================
|
||||||
/* -----------------------------------------------------------------------
|
* DOUBLY LINKED LIST
|
||||||
* DOUBLY LINKED LIST MACROS
|
* ========================================================================= */
|
||||||
* ----------------------------------------------------------------------- */
|
|
||||||
#define HCL_APPEND_TO_LIST(list, node) do { \
|
#define HCL_APPEND_TO_LIST(list, node) do { \
|
||||||
(node)->next = HCL_NULL; \
|
(node)->next = HCL_NULL; \
|
||||||
(node)->prev = (list)->last; \
|
(node)->prev = (list)->last; \
|
||||||
@ -89,7 +88,9 @@
|
|||||||
} while(0);
|
} while(0);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* =========================================================================
|
||||||
|
* ENDIAN CHANGE
|
||||||
|
* ========================================================================= */
|
||||||
|
|
||||||
#define HCL_CONST_SWAP16(x) \
|
#define HCL_CONST_SWAP16(x) \
|
||||||
((qse_uint16_t)((((qse_uint16_t)(x) & (qse_uint16_t)0x00ffU) << 8) | \
|
((qse_uint16_t)((((qse_uint16_t)(x) & (qse_uint16_t)0x00ffU) << 8) | \
|
||||||
@ -115,6 +116,9 @@
|
|||||||
# error UNKNOWN ENDIAN
|
# error UNKNOWN ENDIAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* =========================================================================
|
||||||
|
* HASH
|
||||||
|
* ========================================================================= */
|
||||||
|
|
||||||
#if (HCL_SIZEOF_SIZE_T == 4)
|
#if (HCL_SIZEOF_SIZE_T == 4)
|
||||||
# define HCL_HASH_FNV_MAGIC_INIT (0x811c9dc5)
|
# define HCL_HASH_FNV_MAGIC_INIT (0x811c9dc5)
|
||||||
|
Loading…
Reference in New Issue
Block a user