Utility function and macro to copy Lisp string to C string.
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 14 Aug 2013 16:36:16 +0000 (20:36 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 14 Aug 2013 16:36:16 +0000 (20:36 +0400)
commit5b71542de3ef7f08b7c30e93340502d7cc120910
treedfb9bee6c19bf4467852500cf6b53771652e3d84
parentd48d97ee4ab07e0c3e8c1a63efcfb707eef1b352
Utility function and macro to copy Lisp string to C string.
* lisp.h (xlispstrdupa): New macro.
(xlispstrdup): New prototype.
* alloc.c (xlispstrdup): New function.
* callint.c (Fcall_interactively):
* fileio.c (Ffile_name_directory, Fexpand_file_name)
(Fsubstitute_in_file_name):
* frame.c (Fmake_terminal_frame): Use xlispstrdupa.
* image.c (x_create_bitmap_from_file):
* w32term.c (w32_term_init):
* xterm.c (x_term_init): Use xlispstrdup.
src/ChangeLog
src/alloc.c
src/callint.c
src/fileio.c
src/frame.c
src/image.c
src/lisp.h
src/w32term.c
src/xterm.c