diff options
| author | Paul Eggert | 2017-06-04 23:52:10 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-06-04 23:53:47 -0700 |
| commit | cef90102cb0366f26a9cf618497793d223d60a66 (patch) | |
| tree | d710befc0730116053bbba8ba5ee32f104300a48 /src/emacs-module.c | |
| parent | 24f011d56aec273847181f9befbad491deb2f67e (diff) | |
| download | emacs-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