summaryrefslogtreecommitdiffstats
path: root/gettext-tools/lib/linebreak.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-04-04 14:58:30 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:10:21 +0200
commitf6cd66abf5b87b0aa659af7ba11ecf6d78cff4ee (patch)
tree0cbff60e63824d25beb4888d21a9b79f318d2500 /gettext-tools/lib/linebreak.h
parentaebb5d75bd89da68bcd0e027a1123406d7ed0e25 (diff)
downloadexternal_gettext-f6cd66abf5b87b0aa659af7ba11ecf6d78cff4ee.zip
external_gettext-f6cd66abf5b87b0aa659af7ba11ecf6d78cff4ee.tar.gz
external_gettext-f6cd66abf5b87b0aa659af7ba11ecf6d78cff4ee.tar.bz2
Whitespace changes.
Diffstat (limited to 'gettext-tools/lib/linebreak.h')
-rw-r--r--gettext-tools/lib/linebreak.h42
1 files changed, 33 insertions, 9 deletions
diff --git a/gettext-tools/lib/linebreak.h b/gettext-tools/lib/linebreak.h
index 93af62d..4b34a96 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 <haible@clisp.cons.org>, 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 */