added moo_sqrtint() and moo_absint()

This commit is contained in:
hyunghwan.chung
2018-04-07 06:29:17 +00:00
parent 838189c438
commit cf5c9d0461
3 changed files with 127 additions and 6 deletions

View File

@ -1625,12 +1625,6 @@ typedef struct moo_synerr_t moo_synerr_t;
extern "C" {
#endif
#if defined(MOO_HAVE_INLINE)
static MOO_INLINE void moo_switchprocess(moo_t* moo) { moo->switch_proc = 1; }
#else
# define moo_switchprocess(moo) ((moo)->switch_proc = 1)
#endif
MOO_EXPORT moo_t* moo_open (
moo_mmgr_t* mmgr,
moo_oow_t xtnsize,
@ -1820,6 +1814,13 @@ MOO_EXPORT void moo_abort (
moo_t* moo
);
#if defined(MOO_HAVE_INLINE)
static MOO_INLINE void moo_switchprocess(moo_t* moo) { moo->switch_proc = 1; }
#else
# define moo_switchprocess(moo) ((moo)->switch_proc = 1)
#endif
/* =========================================================================
* COMMON OBJECT MANAGEMENT FUNCTIONS
* ========================================================================= */