[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bignum branch
From: |
Eli Zaretskii |
Subject: |
Re: bignum branch |
Date: |
Sat, 04 Aug 2018 09:07:42 +0300 |
> From: Andy Moreton <address@hidden>
> Date: Fri, 03 Aug 2018 20:16:05 +0100
>
> Yes. Also perhaps change XBIGNUM to:
>
> INLINE struct Lisp_Bignum *
> XBIGNUM (Lisp_Object a)
> {
> eassert (BIGNUMP (a));
> return XUNTAG (a, Lisp_Misc, struct Lisp_Bignum)->value;
> }
>
> That allows "XBIGNUM(value)->value" to be replaced with "XBIGNUM(value)"
> in all callers.
That would go against the convention with all the other Xfoo macros.
However, I see your point, and so perhaps an additional macro,
XINTEGER, could call either XINT or XBIGNUM()->value, depending on the
argument type?
Re: bignum branch, Tom Tromey, 2018/08/03
- Re: bignum branch, Andy Moreton, 2018/08/03
- Re: bignum branch,
Eli Zaretskii <=
- Re: bignum branch, Andy Moreton, 2018/08/05
- Re: bignum branch, Eli Zaretskii, 2018/08/05
- Re: bignum branch, Andy Moreton, 2018/08/06
- Re: bignum branch, Tom Tromey, 2018/08/06
- Re: bignum branch, Paul Eggert, 2018/08/06
- Re: bignum branch, Tom Tromey, 2018/08/06
- Re: bignum branch, Tom Tromey, 2018/08/07
- Re: bignum branch, Andy Moreton, 2018/08/07
- Re: bignum branch, Paul Eggert, 2018/08/07
- Re: bignum branch, Eli Zaretskii, 2018/08/07