[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EMACS_INT cleanup
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: EMACS_INT cleanup |
Date: |
Fri, 24 Sep 2010 02:07:26 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> Yes, but using ptrdiff_t will have the advantage that it's just right.
> Using int requires a cast and an argument for why int is sufficiently
> large in practice. Casts are bad, and human-arguments are only OK when
> we can't argue directly with the compiler.
Yes, I agree. It would be cleaner to fix the users to all be
ptrdiff_t.
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- Re: EMACS_INT cleanup, (continued)
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, David Kastrup, 2010/09/24
- Re: EMACS_INT cleanup, Stefan Monnier, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup, Stefan Monnier, 2010/09/23
- Re: EMACS_INT cleanup,
Lars Magne Ingebrigtsen <=
- Re: EMACS_INT cleanup, Andreas Schwab, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, David Kastrup, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23