Move Vlibrary_cache to emacs.c and reset before dumping.
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 25 Sep 2012 11:57:30 +0000 (13:57 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 25 Sep 2012 11:57:30 +0000 (13:57 +0200)
commitaa15c6bb4fec3c36efe1c05000e05faa6a483038
treeec142ef200c87cd6391e2a370a77ebbc4f2bd1ce
parent16b22fef423afedf034460a0f811abf50d0c5f3e
Move Vlibrary_cache to emacs.c and reset before dumping.

* src/lisp.h (reset_image_types): Declare.
[WINDOWSNT] (Vlibrary_cache): Declare.

* src/image.c (reset_image_types): New function.

* src/emacs.c [WINDOWSNT] (Vlibrary_cache): Move from w32.c.
(syms_of_emacs) [WINDOWSNT] <Vlibrary_cache>: Initialize and staticpro.
(Fdump_emacs): Reset Vlibrary_cache and image_types.

* src/w32.c (Vlibrary_cache): Do not define; moved to emacs.c
(globals_of_w32) <Vlibrary_cache>: Do not initialize.

* src/w32.h (Vlibrary_cache): Do not declare.
src/ChangeLog
src/emacs.c
src/image.c
src/lisp.h
src/w32.c
src/w32.h