comparison src/alloc.c @ 56539:9fc5aae4053e

(check_cons_list): New function (contents commented out).
author Richard M. Stallman <rms@gnu.org>
date Sun, 25 Jul 2004 17:35:04 +0000
parents 1529ab7bab88
children 0487c26b96ee 4e92102a0172 c08afac24467
comparison
equal deleted inserted replaced
56538:1b66d336a770 56539:9fc5aae4053e
2393 consing_since_gc += sizeof (struct Lisp_Cons); 2393 consing_since_gc += sizeof (struct Lisp_Cons);
2394 cons_cells_consed++; 2394 cons_cells_consed++;
2395 return val; 2395 return val;
2396 } 2396 }
2397 2397
2398 /* Get an error now if there's any junk in the cons free list. */
2399 void
2400 check_cons_list ()
2401 {
2402 struct Lisp_Cons *tail = cons_free_list;
2403
2404 #if 0
2405 while (tail)
2406 tail = *(struct Lisp_Cons **)&tail->cdr;
2407 #endif
2408 }
2398 2409
2399 /* Make a list of 2, 3, 4 or 5 specified objects. */ 2410 /* Make a list of 2, 3, 4 or 5 specified objects. */
2400 2411
2401 Lisp_Object 2412 Lisp_Object
2402 list2 (arg1, arg2) 2413 list2 (arg1, arg2)