emacs-devel
[Top][All Lists]
Advanced

[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'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]