Mercurial > emacs
changeset 50690:53295bd2ddbe
(Writing Emacs Primitives): Clarify previous change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 24 Apr 2003 02:01:11 +0000 |
parents | d7f480650128 |
children | e2879cfe85cf |
files | lispref/internals.texi |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/internals.texi Thu Apr 24 02:00:09 2003 +0000 +++ b/lispref/internals.texi Thu Apr 24 02:01:11 2003 +0000 @@ -593,8 +593,9 @@ accept two arguments at the C level: the number of Lisp arguments, and a @code{Lisp_Object *} pointer to a C vector containing those Lisp arguments. This C vector may be part of a Lisp vector, but it need -not be. The responsibility for protecting the Lisp arguments from GC -rests with the caller in this case. +not be. The responsibility for using GCPRO to protecting the Lisp +arguments from GC if necessary rests with the caller in this case, +since the caller allocated or found the storage for them. You must not use C initializers for static or global variables unless the variables are never written once Emacs is dumped. These variables