aboutsummaryrefslogtreecommitdiffstats
path: root/src/emacs-module.c
diff options
context:
space:
mode:
authorPaul Eggert2017-06-04 23:52:10 -0700
committerPaul Eggert2017-06-04 23:53:47 -0700
commitcef90102cb0366f26a9cf618497793d223d60a66 (patch)
treed710befc0730116053bbba8ba5ee32f104300a48 /src/emacs-module.c
parent24f011d56aec273847181f9befbad491deb2f67e (diff)
downloademacs-cef90102cb0366f26a9cf618497793d223d60a66.tar.gz
emacs-cef90102cb0366f26a9cf618497793d223d60a66.zip
SCHARS and STRING_BYTES are nonnegative
Tell the compiler that SCHARS and STRING_BYTES are nonnegative, in the hopes that this will optimize a bit better. Also, check this at runtime if ENABLE_CHECKING. * src/lisp.h (SCHARS, STRING_BYTES): eassume that these functions return nonnegative values. (STRING_SET_CHARS) [ENABLE_CHECKING]: eassert that newsize is nonnegative.
Diffstat (limited to 'src/emacs-module.c')
0 files changed, 0 insertions, 0 deletions