comparison src/alloc.c @ 90182:f042e7c0fe20

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-53 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 302-319) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 69) - Update from CVS
author Miles Bader <miles@gnu.org>
date Fri, 20 May 2005 04:22:05 +0000
parents 02f1dbc4a199 401714f3f9de
children 5b029ff3b08d
comparison
equal deleted inserted replaced
90181:0c828e2b0b6f 90182:f042e7c0fe20
532 get infinite recursion trying to build the string. */ 532 get infinite recursion trying to build the string. */
533 while (1) 533 while (1)
534 Fsignal (Qnil, Vmemory_signal_data); 534 Fsignal (Qnil, Vmemory_signal_data);
535 } 535 }
536 536
537 DEFUN ("memory-full-p", Fmemory_full_p, Smemory_full_p, 0, 0, 0,
538 doc: /* t if memory is nearly full, nil otherwise. */)
539 ()
540 {
541 return (spare_memory ? Qnil : Qt);
542 }
537 543
538 /* Called if we can't allocate relocatable space for a buffer. */ 544 /* Called if we can't allocate relocatable space for a buffer. */
539 545
540 void 546 void
541 buffer_memory_full () 547 buffer_memory_full ()
6033 doc: /* Accumulated time elapsed in garbage collections. 6039 doc: /* Accumulated time elapsed in garbage collections.
6034 The time is in seconds as a floating point value. */); 6040 The time is in seconds as a floating point value. */);
6035 DEFVAR_INT ("gcs-done", &gcs_done, 6041 DEFVAR_INT ("gcs-done", &gcs_done,
6036 doc: /* Accumulated number of garbage collections done. */); 6042 doc: /* Accumulated number of garbage collections done. */);
6037 6043
6044 defsubr (&Smemory_full_p);
6038 defsubr (&Scons); 6045 defsubr (&Scons);
6039 defsubr (&Slist); 6046 defsubr (&Slist);
6040 defsubr (&Svector); 6047 defsubr (&Svector);
6041 defsubr (&Smake_byte_code); 6048 defsubr (&Smake_byte_code);
6042 defsubr (&Smake_list); 6049 defsubr (&Smake_list);