Mercurial > hg > xemacs-beta
diff src/elhash.c @ 5120:d1247f3cc363 ben-lisp-object
latest work on lisp-object workspace;
more changes eliminating LCRECORD in place of LISP_OBJECT;
now compiles and runs.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Mon, 28 Dec 2009 01:15:52 -0600 |
parents | e0db3c197671 |
children | 623d57b7fbe8 |
line wrap: on
line diff
--- a/src/elhash.c Sat Dec 26 21:22:48 2009 -0600 +++ b/src/elhash.c Mon Dec 28 01:15:52 2009 -0600 @@ -96,7 +96,7 @@ struct Lisp_Hash_Table { - struct LCRECORD_HEADER header; + LISP_OBJECT_HEADER header; Elemcount size; Elemcount count; Elemcount rehash_count; @@ -1026,7 +1026,7 @@ const Lisp_Hash_Table *ht_old = xhash_table (hash_table); Lisp_Object obj = ALLOC_LISP_OBJECT (hash_table); Lisp_Hash_Table *ht = XHASH_TABLE (obj); - COPY_LCRECORD (ht, ht_old); + COPY_LISP_OBJECT (ht, ht_old); /* We leave room for one never-occupied sentinel htentry at the end. */ ht->hentries = allocate_hash_table_entries (ht_old->size + 1);