From e1139a7ea5fea68520f3b41904bf60093cd6ba1a Mon Sep 17 00:00:00 2001 From: Shiro Kawai Date: Sun, 27 Feb 2011 11:33:42 +0000 Subject: fixed binary compatibility of Scm_VMExactToInexact diff --git a/src/gauche/number.h b/src/gauche/number.h index b85b72d..f08e631 100644 --- a/src/gauche/number.h +++ b/src/gauche/number.h @@ -319,7 +319,8 @@ SCM_EXTERN void Scm_SetDefaultEndian(ScmObj endian); SCM_EXTERN ScmObj Scm_VMNegate(ScmObj obj); SCM_EXTERN ScmObj Scm_VMReciprocal(ScmObj obj); SCM_EXTERN ScmObj Scm_VMReciprocalInexact(ScmObj obj); -SCM_EXTERN ScmObj Scm_VMInexact(ScmObj obj); +SCM_EXTERN ScmObj Scm_VMExactToInexact(ScmObj obj); /* during 0.9 for backward compatibility */ +#define Scm_VMInexact Scm_VMExactToInexact /* on 1.0, shorter name will be a real name */ SCM_EXTERN ScmObj Scm_VMAbs(ScmObj obj); SCM_EXTERN ScmObj Scm_VMAdd(ScmObj arg1, ScmObj arg2); SCM_EXTERN ScmObj Scm_VMSub(ScmObj arg1, ScmObj arg2); -- 1.7.3.4