summaryrefslogtreecommitdiff
path: root/lib/idx.h
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* idx: break copying from glibcPaul Eggert2021-09-041-0/+20
| | | | * config/srclist.txt: Comment out idx.h, and bring back recent change.
* autoupdateKarl Berry2021-08-311-20/+0
|
* idx: add commentaryPaul Eggert2021-08-301-0/+20
| | | | | | * lib/idx.h: Add comments about ssize_t and strlen, in response to comments from Simon Josefsson in: https://lists.gnu.org/r/bug-gnulib/2021-08/msg00196.html
* autoupdateKarl Berry2021-06-151-4/+0
|
* idx: new printf/scanf length modifier macroPaul Eggert2021-06-141-0/+4
| | | | * lib/idx.h (pIDX): New macro.
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* idx: change idx.h comment to LGPLv2.1+Paul Eggert2020-12-251-10/+11
| | | | | | * lib/idx.h: Change license notice to match what should be in glibc. gnulib-tool will change it as appropriate anyway, so this is just to simplify syncing with glibc.
* idx: simplify IDX_MAX, remove IDX_WIDTHPaul Eggert2020-12-171-19/+14
| | | | | | | * lib/idx.h (IDX_MAX): Simplify by removing obsolete reference to UNSIGNED_IDX_T. (IDX_WIDTH): Remove, since it’s not used and its value arguably should be PTRDIFF_WIDTH anyway.
* idx: Clarify that idx_t always behaves like a signed type.Bruno Haible2020-12-041-23/+37
| | | | | | | | Suggested by Paul Eggert in <https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00034.html>. * lib/idx.h: Clarify that idx_t always behaves like a signed type. Don't test UNSIGNED_IDX_T.
* idx: New module.Bruno Haible2020-12-031-0/+104
* lib/idx.h: New file. * modules/idx: New file. * lib/canonicalize-lgpl.c: Include idx.h. Use idx_t instead of ptrdiff_t. * lib/canonicalize.c: Likewise. * modules/canonicalize-lgpl (Depends-on): Add idx. * modules/canonicalize (Depends-on): Likewise.