diff options
| author | Junio C Hamano <gitster@pobox.com> | 2013-02-25 08:03:59 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2013-02-25 08:03:59 -0800 |
| commit | 75288cc7e120cfcce4b11699d034bcadccdf9344 (patch) | |
| tree | 2150de06391c509528c4b4aa796868cd2d78d21f /utf8.h | |
| parent | d08d25909554497c85f19b1eebefcfd5b49c6613 (diff) | |
| parent | c082196575e13dd5960031f213b20e2df989ca18 (diff) | |
Merge branch 'jx/utf8-printf-width' into maint
* jx/utf8-printf-width:
Add utf8_fprintf helper that returns correct number of columns
Diffstat (limited to 'utf8.h')
| -rw-r--r-- | utf8.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,6 +8,7 @@ int utf8_strwidth(const char *string); int is_utf8(const char *text); int is_encoding_utf8(const char *name); int same_encoding(const char *, const char *); +int utf8_fprintf(FILE *, const char *, ...); void strbuf_add_wrapped_text(struct strbuf *buf, const char *text, int indent, int indent2, int width); |
