diff options
| author | Dmitry Antipov | 2014-05-30 11:40:29 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-05-30 11:40:29 +0400 |
| commit | 8d3103b1efd32a2faf257e26a5474e12543ce798 (patch) | |
| tree | 110af642ef3cecf9bc207d56add307156d004cb2 /src/buffer.c | |
| parent | 8cf1e6e67926683e38809adced986d255124afd5 (diff) | |
| download | emacs-8d3103b1efd32a2faf257e26a5474e12543ce798.tar.gz emacs-8d3103b1efd32a2faf257e26a5474e12543ce798.zip | |
Debugging facility to check whether 'const char *' points to
relocatable data of non-pure Lisp string.
* alloc.c (maybe_lisp_pointer): New function, refactored out of ...
(mark_maybe_pointer): ... adjusted user.
(relocatable_string_data_p): New function.
* lisp.h (relocatable_string_data_p): Add prototype.
* xdisp.c (message_with_string): If ENABLE_CHECKING, make sure
the pointer to relocatable Lisp data is not used.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions