summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorNicolás Bértolo <nicolasbertolo@gmail.com>2020-05-08 14:30:14 -0300
committerAndrea Corallo <akrl@sdf.org>2020-05-20 20:46:39 +0100
commit7fa83f9ac96bd201a15f7b0ae4a2cd20a70fd7ef (patch)
tree19eb5fbb75b4a8f706000d4fc0ffbbc834d16f89 /lisp/emacs-lisp/lisp.el
parent5ff2cbdb04fe190c12b43a6c0f95a311da767872 (diff)
downloademacs-7fa83f9ac96bd201a15f7b0ae4a2cd20a70fd7ef.tar.gz
emacs-7fa83f9ac96bd201a15f7b0ae4a2cd20a70fd7ef.tar.bz2
emacs-7fa83f9ac96bd201a15f7b0ae4a2cd20a70fd7ef.zip
Handle LISP_WORDS_ARE_POINTERS and CHECK_LISP_OBJECT_TYPE.
* src/comp.c: Introduce the Lisp_X, Lisp_Word, and Lisp_Word_tag types. These types are used instead of long or long long. Use emacs_int_type and emacs_uint_types where appropriate. (emit_coerce): Add special logic that handles the case when Lisp_Object is a struct. This is necessary for handling the --enable-check-lisp-object-type configure option. * src/lisp.h: Since libgccjit does not support opaque unions, change Lisp_X to be struct. This is done to ensure that the same types are used in the same binary. It is probably unnecessary since only a pointer to it is used.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions