]> git.eshelyaron.com Git - emacs.git/commit
Update comments warning about GC-resistant C programming
authorEli Zaretskii <eliz@gnu.org>
Wed, 22 Sep 2021 07:07:25 +0000 (10:07 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 22 Sep 2021 07:07:25 +0000 (10:07 +0300)
commit7973227f67cd8ea4a1ed590ebc279b34ece86c12
tree53a0482ef7ef8fd33f34ae9a4cf3e62ddc28227b
parent3d575534d43802552f59eb1b990939cb3412d4e9
Update comments warning about GC-resistant C programming

* src/eval.c: Remove an outdated comment about protection from GC.
* src/buffer.h:
* src/lisp.h: Add warnings about using 'char *' pointers to text
of Lisp strings and buffer text in code that could GC.  Reported by
Po Lu <luangruo@yahoo.com>
src/buffer.h
src/eval.c
src/lisp.h