aboutsummaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-03-12 21:46:35 -0700
committerJunio C Hamano <gitster@pobox.com>2009-03-12 21:46:35 -0700
commitc26901a8ff8aa25a584551ee946516e8dc8a704a (patch)
treea284c4eb5d185a3e4131a154f5690fd2b0a15833 /utf8.h
parent2f5bfa7c7f271f2b7709c2822436178e2a216027 (diff)
parentffaf9cc0ff0692a0b60cdf1b62e8375706b7865d (diff)
downloadgit-c26901a8ff8aa25a584551ee946516e8dc8a704a.tar.gz
git-c26901a8ff8aa25a584551ee946516e8dc8a704a.tar.xz
Merge branch 'gt/maint-1.6.1-utf8-width' into maint-1.6.1
* gt/maint-1.6.1-utf8-width: builtin-blame.c: Use utf8_strwidth for author's names utf8: add utf8_strwidth()
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index 98cce1b03..2f1b14ff4 100644
--- a/utf8.h
+++ b/utf8.h
@@ -5,6 +5,7 @@ typedef unsigned int ucs_char_t; /* assuming 32bit int */
ucs_char_t pick_one_utf8_char(const char **start, size_t *remainder_p);
int utf8_width(const char **start, size_t *remainder_p);
+int utf8_strwidth(const char *string);
int is_utf8(const char *text);
int is_encoding_utf8(const char *name);