[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] trunk r117987: * internals.texi (Stack-allocated Objec
From: |
Eli Zaretskii |
Subject: |
Re: [Emacs-diffs] trunk r117987: * internals.texi (Stack-allocated Objects): Describe this feature. |
Date: |
Tue, 30 Sep 2014 22:29:39 +0300 |
> Date: Tue, 30 Sep 2014 12:15:34 -0700
> From: Paul Eggert <address@hidden>
>
> Regardless of whether we use declaration-style macros, there is one
> thing I'd like to change: the macro names.
Yes, the names are not helpful.
> These macros are not about *scope*; they are about *lifetime*. How
> about the prefix "auto_" (from the C keyword 'auto') rather than
> "scope_"? Or maybe "block_" because it's block lifetime? ("auto_"
> is shorter....)
Or maybe "alloca_*", as in alloca_string, alloca_list1, etc.