]> Savannah Git Hosting - gnulib.git/commit
base32: new function isubase32; also, tune.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 25 Oct 2023 21:14:15 +0000 (14:14 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 25 Oct 2023 21:17:56 +0000 (14:17 -0700)
commite15c7eab0bb6acca8192e6f50bced0be00493402
tree03d35d579988fc37426c2f9288a9ff153dec7cc0
parent48d0d5e95f0ae115f8b7097efbeda73e453091fc
base32: new function isubase32; also, tune.

* lib/base32.c (BASE32_INLINE): Define.
(base32_to_int): Rename from b32 and make it extern.  All uses changed.
(uchar_in_range): Remove.  All uses removed.
(isbase32, base32_decode_ctx_init):
Move to lib/base32.h and make inline.
* lib/base32.h: Ignore -Wtype-limits, so that we needn’t
worry about uchar_in_range.
(BASE32_INLINE): Define, and use _GL_INLINE_HEADER_BEGIN.
(isubase32): New function, useful as it as a different signature.
(isbase32): Define in terms of isubase32.
* modules/base32 (Depends-on): Add extern-inline.
ChangeLog
lib/base32.c
lib/base32.h
modules/base32