[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rename STRING_SET_CHARS to STRING_SET_SIZE
From: |
Eli Zaretskii |
Subject: |
Re: rename STRING_SET_CHARS to STRING_SET_SIZE |
Date: |
Mon, 17 Apr 2017 19:24:28 +0300 |
> From: Ted Zlatanov <address@hidden>
> Date: Mon, 17 Apr 2017 12:00:56 -0400
>
> Eli, anyone else, is it OK to do that renaming of STRING_SET_CHARS to
> STRING_SET_SIZE?
It is called STRING_SET_CHARS because it sets the same member that
SCHARS returns. And CHARS is actually correct, because the 'size'
member counts string characters (as opposed to bytes). So I don't
think there's a problem with the name here, you just need ti get used
to thinking about it as 'chars', not 'size'.
- Re: libnettle/libhogweed WIP, (continued)
- Re: libnettle/libhogweed WIP, Eli Zaretskii, 2017/04/20
- Re: libnettle/libhogweed WIP, Eli Zaretskii, 2017/04/20
- Re: libnettle/libhogweed WIP, Stefan Monnier, 2017/04/20
- Re: libnettle/libhogweed WIP, Eli Zaretskii, 2017/04/20
- Re: libnettle/libhogweed WIP, Stefan Monnier, 2017/04/19
- rename STRING_SET_CHARS to STRING_SET_SIZE (was: libnettle/libhogweed WIP), Ted Zlatanov, 2017/04/17
- Re: rename STRING_SET_CHARS to STRING_SET_SIZE,
Eli Zaretskii <=
- Re: rename STRING_SET_CHARS to STRING_SET_SIZE, Stefan Monnier, 2017/04/17
- Re: rename STRING_SET_CHARS to STRING_SET_SIZE, Ted Zlatanov, 2017/04/17
- Re: libnettle/libhogweed WIP, Stefan Monnier, 2017/04/15
- Re: libnettle/libhogweed WIP, Eli Zaretskii, 2017/04/16
- Re: libnettle/libhogweed WIP, Stefan Monnier, 2017/04/16
Re: libnettle/libhogweed WIP, Toon Claes, 2017/04/16