]> git.eshelyaron.com Git - emacs.git/commit
New function fast_c_string_match and fast_c_string_match_internal
authorYuan Fu <casouri@gmail.com>
Wed, 9 Nov 2022 20:24:43 +0000 (12:24 -0800)
committerYuan Fu <casouri@gmail.com>
Wed, 9 Nov 2022 23:51:13 +0000 (15:51 -0800)
commita7042fa051c69b8c647fce3ec52b74974b5ea2be
tree717122fb4c75565e4d93916242233c7f58a02f69
parent2332c3eb55b2c8541ea83d4a847c56f888239f6a
New function fast_c_string_match and fast_c_string_match_internal

Generalize fast_c_string_match_ignore_case into
fast_c_string_match_internal.  And Make fast_c_string and
fast_c_string_match_ignore_case use fast_c_string_match_internal.

* src/lisp.h (fast_c_string_match_internal)
(fast_c_string_match): New declaration.
(fast_c_string_match_ignore_case): Change to thin wrapper.
* src/search.c (fast_c_string_match_internal): New function.
src/lisp.h
src/search.c