* lisp.h (toplevel): Add comment about using Lisp_Save_Value
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 17 Jan 2013 06:29:40 +0000 (10:29 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Thu, 17 Jan 2013 06:29:40 +0000 (10:29 +0400)
commit61e09f5bff6c9b82a8336bbf285f4d172bc3c6be
tree3a3155736ae937a57dce4b0a8415a47c6c44c535
parentf7e36e0cb1b084a639c889a2899c152e8cc27ead
* lisp.h (toplevel): Add comment about using Lisp_Save_Value
objects, related functions and macros.
(make_save_value): Adjust prototype.
(make_save_pointer): New prototype.
(SAFE_NALLOCA): Fix indentation.  Use make_save_pointer.
(SAFE_ALLOCA_LISP): Adjust make_save_value usage.
* alloc.c (format_save_value): Rename to make_save_value.
(make_save_pointer): New function.
(record_xmalloc): Use make_save_pointer.
* dired.c, editfns.c, fileio.c, font.c, gtkutil.c, lread.c:
* nsmenu.m, nsterm.m, xfns.c, xmenu.c, xselect.c, keymap.c:
Change users of make_save_value to make_save_pointer.
Likewise for format_save_value and make_save_value.
16 files changed:
src/ChangeLog
src/alloc.c
src/dired.c
src/editfns.c
src/fileio.c
src/font.c
src/ftfont.c
src/gtkutil.c
src/keymap.c
src/lisp.h
src/lread.c
src/nsmenu.m
src/nsterm.m
src/xfns.c
src/xmenu.c
src/xselect.c