• Dmitry Antipov's avatar
    Debugging facility to check whether 'const char *' points to · 8d3103b1
    Dmitry Antipov authored
    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.
    8d3103b1
alloc.c 192 KB