From: Bruno Haible Date: Fri, 4 Apr 2003 14:58:30 +0000 (+0000) Subject: Whitespace changes. X-Git-Tag: v0.12~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6cd66abf5b87b0aa659af7ba11ecf6d78cff4ee;p=thirdparty%2Fgettext.git Whitespace changes. --- diff --git a/gettext-tools/lib/linebreak.h b/gettext-tools/lib/linebreak.h index 93af62d9b..4b34a96c3 100644 --- a/gettext-tools/lib/linebreak.h +++ b/gettext-tools/lib/linebreak.h @@ -1,5 +1,5 @@ /* linebreak.h - line breaking of Unicode strings - Copyright (C) 2001-2002 Free Software Foundation, Inc. + Copyright (C) 2001-2003 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software; you can redistribute it and/or modify @@ -60,20 +60,44 @@ enum { hyphenation rules. p[i] = UC_BREAK_PROHIBITED means that s[i-1] and s[i] must not be separated. */ -extern void u8_possible_linebreaks (const unsigned char *s, size_t n, const char *encoding, char *p); -extern void u16_possible_linebreaks (const unsigned short *s, size_t n, const char *encoding, char *p); -extern void u32_possible_linebreaks (const unsigned int *s, size_t n, const char *encoding, char *p); -extern void mbs_possible_linebreaks (const char *s, size_t n, const char *encoding, char *p); +extern void u8_possible_linebreaks (const unsigned char *s, size_t n, + const char *encoding, + char *p); +extern void u16_possible_linebreaks (const unsigned short *s, size_t n, + const char *encoding, + char *p); +extern void u32_possible_linebreaks (const unsigned int *s, size_t n, + const char *encoding, + char *p); +extern void mbs_possible_linebreaks (const char *s, size_t n, + const char *encoding, + char *p); /* Choose the best line breaks, assuming the uc_width function. Return the column after the end of the string. o is an optional override; if o[i] != UC_BREAK_UNDEFINED, o[i] takes precedence over p[i] as returned by the *_possible_linebreaks function. */ -extern int u8_width_linebreaks (const unsigned char *s, size_t n, int width, int start_column, int at_end_columns, const char *o, const char *encoding, char *p); -extern int u16_width_linebreaks (const unsigned short *s, size_t n, int width, int start_column, int at_end_columns, const char *o, const char *encoding, char *p); -extern int u32_width_linebreaks (const unsigned int *s, size_t n, int width, int start_column, int at_end_columns, const char *o, const char *encoding, char *p); -extern int mbs_width_linebreaks (const char *s, size_t n, int width, int start_column, int at_end_columns, const char *o, const char *encoding, char *p); +extern int + u8_width_linebreaks (const unsigned char *s, size_t n, + int width, int start_column, int at_end_columns, + const char *o, const char *encoding, + char *p); +extern int + u16_width_linebreaks (const unsigned short *s, size_t n, + int width, int start_column, int at_end_columns, + const char *o, const char *encoding, + char *p); +extern int + u32_width_linebreaks (const unsigned int *s, size_t n, + int width, int start_column, int at_end_columns, + const char *o, const char *encoding, + char *p); +extern int + mbs_width_linebreaks (const char *s, size_t n, + int width, int start_column, int at_end_columns, + const char *o, const char *encoding, + char *p); #endif /* _LINEBREAK_H */