From 1f4143f20f366a82e6aa06de91bd0a91c4ceddad Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 19 Feb 2018 16:17:46 +0000 Subject: [PATCH] made hcl_inttooow() and hcl_oowtoint() public --- lib/hcl-prv.h | 11 ----------- lib/hcl.h | 27 +++++++++++++++++++-------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/lib/hcl-prv.h b/lib/hcl-prv.h index db7b6ab..7e70237 100644 --- a/lib/hcl-prv.h +++ b/lib/hcl-prv.h @@ -852,17 +852,6 @@ int hcl_isint ( hcl_oop_t x ); -int hcl_inttooow ( - hcl_t* hcl, - hcl_oop_t x, - hcl_oow_t* w -); - -hcl_oop_t hcl_oowtoint ( - hcl_t* hcl, - hcl_oow_t w -); - hcl_oop_t hcl_addints ( hcl_t* hcl, hcl_oop_t x, diff --git a/lib/hcl.h b/lib/hcl.h index f115c7b..00b5dac 100644 --- a/lib/hcl.h +++ b/lib/hcl.h @@ -1633,12 +1633,6 @@ HCL_EXPORT hcl_oop_t hcl_makefalse ( hcl_t* hcl ); -HCL_EXPORT hcl_oop_t hcl_makebigint ( - hcl_t* hcl, - int brand, - const hcl_liw_t* ptr, - hcl_oow_t len -); HCL_EXPORT hcl_oop_t hcl_makecons ( hcl_t* hcl, @@ -1708,7 +1702,6 @@ HCL_EXPORT hcl_oop_t hcl_remakengcarray ( hcl_oow_t newsz ); - HCL_EXPORT hcl_oop_t hcl_makeprim ( hcl_t* hcl, hcl_pfimpl_t primimpl, @@ -1716,6 +1709,25 @@ HCL_EXPORT hcl_oop_t hcl_makeprim ( hcl_oow_t maxargs ); + +HCL_EXPORT hcl_oop_t hcl_makebigint ( + hcl_t* hcl, + int brand, + const hcl_liw_t* ptr, + hcl_oow_t len +); + +HCL_EXPORT int hcl_inttooow ( + hcl_t* hcl, + hcl_oop_t x, + hcl_oow_t* w +); + +HCL_EXPORT hcl_oop_t hcl_oowtoint ( + hcl_t* hcl, + hcl_oow_t w +); + /* ========================================================================= * CONS OBJECT UTILITIES * ========================================================================= */ @@ -1946,7 +1958,6 @@ HCL_EXPORT hcl_bch_t* hcl_dupbchars ( hcl_oow_t bcslen ); - /* ========================================================================= * ASSERTION SUPPORT * ========================================================================= */