mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-16 02:50:26 -08:00
Prefer 'ARRAYELTS (x)' to 'sizeof x / sizeof *x'.
* alloc.c (memory_full): * charset.c (syms_of_charset): * doc.c (Fsnarf_documentation): * emacs.c (main): * font.c (BUILD_STYLE_TABLE): * keyboard.c (make_lispy_event): * profiler.c (setup_cpu_timer): * xgselect.c (xg_select): * xterm.c (record_event, STORE_KEYSYM_FOR_DEBUG): Use ARRAYELTS. * font.c (FONT_PROPERTY_TABLE_SIZE): Remove. Replace the only use with ARRAYELTS (font_property_table). * xfaces.c (DIM): Remove. All uses replaced by ARRAYELTS.
This commit is contained in:
parent
1b058e4252
commit
faa5217493
23 changed files with 82 additions and 72 deletions
|
|
@ -743,7 +743,7 @@ extern wchar_t *to_unicode (Lisp_Object str, Lisp_Object *buf);
|
|||
extern Lisp_Object from_unicode (Lisp_Object str);
|
||||
|
||||
/* Convert WSTR to an Emacs string. */
|
||||
extern Lisp_Object from_unicode_buffer (const wchar_t* wstr);
|
||||
extern Lisp_Object from_unicode_buffer (const wchar_t *wstr);
|
||||
|
||||
#endif /* WINDOWSNT || CYGWIN */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue