aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorPaul Eggert2019-05-05 17:35:05 -0700
committerPaul Eggert2019-05-05 17:40:55 -0700
commit926a394997eaae55b797a90cb2cd037bbe3c3db4 (patch)
treea075ef40927dc732c254f2d63a98af8ca3d99c82 /src/buffer.h
parent31c60dfbd8541c9f1b1bc8127dde85e5d5af51b5 (diff)
downloademacs-926a394997eaae55b797a90cb2cd037bbe3c3db4.tar.gz
emacs-926a394997eaae55b797a90cb2cd037bbe3c3db4.zip
Use simpler way to print function pointers
The module code can’t possibly work on weird platforms where function pointers are wider than data pointers, so there’s no need to bother with the stackoverflow-like approach that is intended only for portability to such platforms. Besides, the stackoverflow-like approach does not work well on weird platforms where CHAR_BIT is not a multiple of 4. * src/lisp.h (pMx): New macro. * src/print.c (data_from_funcptr) [HAVE_MODULES]: New function. (print_vectorlike) [HAVE_MODULES]: Use it. (print_object): Make sure buf is big enough for this.
Diffstat (limited to 'src/buffer.h')
0 files changed, 0 insertions, 0 deletions