Commit 7b39052690e425256d927eef717153a7905b7c3e

Stefan Sperling 2018-12-23T15:01:48

document UTF-8 API functions

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/got_utf8.h b/include/got_utf8.h
index 50a99bc..3ed6ddd 100644
--- a/include/got_utf8.h
+++ b/include/got_utf8.h
@@ -14,5 +14,8 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+/* Return a sanitized UTF-8 string which is safe to write to a terminal. */
 const struct got_error *got_mbsavis(char**, int *, const char *);
+
+/* Indicate whether the current locale supports UTF-8. */
 int got_locale_is_utf8(void);