use guile obarrays
authorBT Templeton <bt@hcoop.net>
Thu, 8 Aug 2013 04:26:57 +0000 (00:26 -0400)
committerRobin Templeton <robin@terpri.org>
Mon, 9 Feb 2015 18:04:22 +0000 (13:04 -0500)
commit5359af0ea84347a5f555dfec5d961139266e2be6
tree4a953cc99bb932cf89a1b8e5eb3578b1607141db
parent1f183cece31ba4aa50d5a506e2095b087d57d5dc
use guile obarrays

* src/alloc.c (initialize_symbol): New function, extracted from
  `Fmake_symbol'.
  (Fmake_symbol): Use `scm_make_symbol'.
* src/emacs.c (main2): Define a symbol module.
* src/lisp.h (SYMBOLP, XSYMBOL): Update.
  (set_symbol_next): Remove. All callers changed.
* src/lread.c (obhash): New function.
  (Fintern, Fintern_soft, Funintern, oblookup, map_obarray): Use Guile
  obarrays.
  (init_obarray): Initialize a hash table of obarrays.
src/alloc.c
src/emacs.c
src/lisp.h
src/lread.c