From 705aaea0cce3760cf803b6c0c2d8426fda6d3098 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 24 Jun 2019 11:36:07 +0000 Subject: [PATCH] not useful macro reordering --- lib/hcl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hcl.h b/lib/hcl.h index 9d78f13..18b313a 100644 --- a/lib/hcl.h +++ b/lib/hcl.h @@ -1434,16 +1434,16 @@ HCL_EXPORT void hcl_setinloc ( ); #if defined(HCL_HAVE_INLINE) - static HCL_INLINE hcl_mmgr_t* hcl_getmmgr (hcl_t* hcl) { return hcl->_mmgr; } static HCL_INLINE void* hcl_getxtn (hcl_t* hcl) { return (void*)((hcl_uint8_t*)hcl + hcl->_instsize); } + static HCL_INLINE hcl_mmgr_t* hcl_getmmgr (hcl_t* hcl) { return hcl->_mmgr; } static HCL_INLINE hcl_cmgr_t* hcl_getcmgr (hcl_t* hcl) { return hcl->_cmgr; } static HCL_INLINE void hcl_setcmgr (hcl_t* hcl, hcl_cmgr_t* cmgr) { hcl->_cmgr = cmgr; } static HCL_INLINE hcl_errnum_t hcl_geterrnum (hcl_t* hcl) { return hcl->errnum; } #else -# define hcl_getmmgr(hcl) (((hcl_t*)(hcl))->_mmgr) # define hcl_getxtn(hcl) ((void*)((hcl_uint8_t*)hcl + ((hcl_t*)hcl)->_instsize)) +# define hcl_getmmgr(hcl) (((hcl_t*)(hcl))->_mmgr) # define hcl_getcmgr(hcl) (((hcl_t*)(hcl))->_cmgr) # define hcl_setcmgr(hcl,cmgr) (((hcl_t*)(hcl))->_cmgr = (cmgr))