]> code.delx.au - gnu-emacs/commitdiff
*** empty log message ***
authorKim F. Storm <storm@cua.dk>
Tue, 22 Jun 2004 13:56:05 +0000 (13:56 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 22 Jun 2004 13:56:05 +0000 (13:56 +0000)
src/ChangeLog

index 4310a82ca2bef1a76430dec4056cc992c73f2bef..22a4d4fdf0d011ce65a84233acbe1e01f024cf61 100644 (file)
@@ -1,3 +1,17 @@
+2004-06-22  Kim F. Storm  <storm@cua.dk>
+
+       * lisp.h (struct Lisp_Save_Value): New member dogc.
+       (SAFE_ALLOCA_LISP): Change second arg to number of elements.
+       Set dogc member in Lisp_Save_Value object so it will be GC'ed.
+       (SAFE_FREE_LISP): New macro.
+
+       * alloc.c (safe_alloca_unwind): Clear dogc and pointer members.
+       (make_save_value): Init new dogc member.
+       (mark_object): Mark Lisp_Save_Value pointer array if dogc is set.
+
+       * fns.c (Fmapconcat, Fmapcar): Use new SAFE_ALLOCA_LISP and
+       SAFE_FREE_LISP macros.
+
 2004-06-22  Kim F. Storm  <storm@cua.dk>
 
        * lisp.h (SAFE_ALLOCA_LISP): New macro to allocate Lisp_Objects.