]> git.eshelyaron.com Git - emacs.git/commit
* Remove a layer of indirection for access to pure storage.
authorNicolás Bértolo <nicolasbertolo@gmail.com>
Fri, 8 May 2020 19:23:10 +0000 (16:23 -0300)
committerAndrea Corallo <akrl@sdf.org>
Wed, 20 May 2020 19:37:49 +0000 (20:37 +0100)
commit5ff2cbdb04fe190c12b43a6c0f95a311da767872
tree62a36fe81c1db0c7838e5d5e9a70549e8367cae2
parent72a96ed992bbc3ec446a974322dc8ba9dd94ce39
* Remove a layer of indirection for access to pure storage.

* src/comp.c: Taking the address of an array is the same as casting it
to a pointer. Therefore, the C expression `(EMACS_INT **) &pure` is in
fact adding a layer of indirection that is not necessary. The fix is
to cast the `pure` array to a pointer and store that in a void pointer
that is part of the compiled shared library.
src/comp.c