1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Change the 'len' parameter type to 'size_t'.

This commit is contained in:
Bruno Haible
2016-11-26 17:54:33 +01:00
parent 31784d388f
commit d519d1a821
19 changed files with 66 additions and 49 deletions

3
NEWS
View File

@@ -2,6 +2,9 @@ New in 3.1:
* The generated C code is now in ANSI-C by default. If you want to support
pre-ANSI-C compilers, you need to provide the option --language=C on the
command line or %language=C in the source file.
* The 'len' parameter of the hash function and of the lookup function is now
of type 'size_t' instead of 'unsigned int'. This makes it safe to call these
functions with strings of length > 4 GB, on 64-bit machines.
* Added option --constants-prefix.
* Added declaration %define constants-prefix.