Move Vlibrary_cache to emacs.c and reset before dumping.
commitbcba8e607db89d6b8d4ff48e8a582160cd02ba2c
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 25 Sep 2012 11:57:30 +0000 (25 13:57 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 25 Sep 2012 11:57:30 +0000 (25 13:57 +0200)
tree6d6b85199d859d1579875c291de3d6c4a4937da7
parenta2ae8f10611a27b5e81716362f4e7c77319002a3
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