From 27f59235eaaaf709f1bd049c223868ab8a919ae5 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 20 Oct 2007 19:55:50 +0000 Subject: Add a plural_distribution_length argument. --- gettext-tools/src/msgl-check.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gettext-tools/src/msgl-check.h') 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 , 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); -- cgit v1.1