From 4e4ac37dec542189921a5c9c6c2b73f62d0e9a3a Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 6 Mar 2019 01:57:06 +0000 Subject: [PATCH] added section titles to hcl-utl.h --- lib/hcl-utl.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/lib/hcl-utl.h b/lib/hcl-utl.h index e0e88cd..9b28a66 100644 --- a/lib/hcl-utl.h +++ b/lib/hcl-utl.h @@ -29,10 +29,9 @@ #include "hcl-cmn.h" - -/* ----------------------------------------------------------------------- - * DOUBLY LINKED LIST MACROS - * ----------------------------------------------------------------------- */ +/* ========================================================================= + * DOUBLY LINKED LIST + * ========================================================================= */ #define HCL_APPEND_TO_LIST(list, node) do { \ (node)->next = HCL_NULL; \ (node)->prev = (list)->last; \ @@ -89,7 +88,9 @@ } while(0); */ - +/* ========================================================================= + * ENDIAN CHANGE + * ========================================================================= */ #define HCL_CONST_SWAP16(x) \ ((qse_uint16_t)((((qse_uint16_t)(x) & (qse_uint16_t)0x00ffU) << 8) | \ @@ -115,6 +116,9 @@ # error UNKNOWN ENDIAN #endif +/* ========================================================================= + * HASH + * ========================================================================= */ #if (HCL_SIZEOF_SIZE_T == 4) # define HCL_HASH_FNV_MAGIC_INIT (0x811c9dc5)