diff options
author | Bruno Haible <bruno@clisp.org> | 2007-10-20 19:55:50 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:15:20 +0200 |
commit | 27f59235eaaaf709f1bd049c223868ab8a919ae5 (patch) | |
tree | 0d7efc35f8baa42d2a65031c371d11466ce186ba /gettext-tools/src/msgl-check.h | |
parent | 3e85da441657704a8745147aabffd9fca8834d27 (diff) | |
download | external_gettext-27f59235eaaaf709f1bd049c223868ab8a919ae5.zip external_gettext-27f59235eaaaf709f1bd049c223868ab8a919ae5.tar.gz external_gettext-27f59235eaaaf709f1bd049c223868ab8a919ae5.tar.bz2 |
Add a plural_distribution_length argument.
Diffstat (limited to 'gettext-tools/src/msgl-check.h')
-rw-r--r-- | gettext-tools/src/msgl-check.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gettext-tools/src/msgl-check.h b/gettext-tools/src/msgl-check.h index 5945d33..2c5e4ab 100644 --- a/gettext-tools/src/msgl-check.h +++ b/gettext-tools/src/msgl-check.h @@ -1,5 +1,5 @@ /* Checking of messages in PO files. - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2007 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2005. This program is free software: you can redistribute it and/or modify @@ -31,11 +31,14 @@ extern "C" { PLURAL_DISTRIBUTION is either NULL or an array of nplurals elements, PLURAL_DISTRIBUTION[j] being true if the value j appears to be assumed infinitely often by the plural formula. + PLURAL_DISTRIBUTION_LENGTH is the length of the PLURAL_DISTRIBUTION array. Return the number of errors that were seen. */ extern int check_message (const message_ty *mp, const lex_pos_ty *msgid_pos, int check_newlines, - int check_format_strings, const unsigned char *plural_distribution, + int check_format_strings, + const unsigned char *plural_distribution, + unsigned long plural_distribution_length, int check_header, int check_compatibility, int check_accelerators, char accelerator_char); |