]> git.saurik.com Git - apt.git/commit
Turn tolower_ascii() and isspace_ascii() into inline functions
authorJulian Andres Klode <jak@debian.org>
Tue, 29 Dec 2015 02:19:51 +0000 (03:19 +0100)
committerJulian Andres Klode <jak@debian.org>
Tue, 29 Dec 2015 02:19:51 +0000 (03:19 +0100)
commit98eb4e9eec4e2e1fc62fe018d536b89f5524cd21
treef65268d06ad96aa08a90a321475600c59a6bead3
parent0748f03aca4db260ad964b44519e0971647d1e9d
Turn tolower_ascii() and isspace_ascii() into inline functions

To preserve compatibility, the new inline functions have _inline
as a suffix, and a macro defines the old names to refer to the
inline variants.

The old functions are still preserved for binary compatibility.

Also simplify the implementation of both functions.
apt-pkg/contrib/strutl.cc
apt-pkg/contrib/strutl.h