diff options
| author | Paul Eggert | 2012-08-23 13:31:52 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-08-23 13:31:52 -0700 |
| commit | 2cc2116757629868401bdb2073ff44ce32c3d008 (patch) | |
| tree | ee49e80d6573f97ddeaa36e05b81fcfbbdc10cc5 /src/buffer.h | |
| parent | 7db4ddf40001758a58611c819605075d34edd924 (diff) | |
| download | emacs-2cc2116757629868401bdb2073ff44ce32c3d008.tar.gz emacs-2cc2116757629868401bdb2073ff44ce32c3d008.zip | |
* bidi.c: Use bool for boolean.
This is a bit more readable, and makes the text segment of bidi.o
0.4% smaller on my platform (GCC 4.7.1 x86-64, Fedora 15).
Presumably it's faster too.
(bidi_initialized, bidi_ignore_explicit_marks_for_paragraph_level):
Now bool.
(bidi_cache_find_level_change, bidi_cache_iterator_state)
(bidi_unshelve_cache, bidi_init_it, bidi_count_bytes)
(bidi_char_at_pos, bidi_fetch_char, bidi_paragraph_init)
(bidi_explicit_dir_char, bidi_level_of_next_char)
(bidi_find_other_level_edge, bidi_move_to_visually_next):
Use bool for booleans, instead of int.
* dispextern.h (bidi_init_it, bidi_paragraph_init)
(bidi_unshelve_cache): Adjust decls to match code.
Diffstat (limited to 'src/buffer.h')
0 files changed, 0 insertions, 0 deletions