diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-01-08 11:53:52 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-01-08 11:53:52 +0100 |
commit | fa838e76139763f902c7d27cb9e1d393ed6a15e4 (patch) | |
tree | 7d0ae09775ea950056193eaa2ca93844299d46f1 /doc/uniwidth.texi | |
parent | c78359d9542c86b972aac373efcf7bc7a8a560e5 (diff) | |
parent | 2959e59fab3bab834368adefd90bd4b1b094366b (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'doc/uniwidth.texi')
-rw-r--r-- | doc/uniwidth.texi | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/uniwidth.texi b/doc/uniwidth.texi index a05d101..4831da2 100644 --- a/doc/uniwidth.texi +++ b/doc/uniwidth.texi @@ -21,23 +21,23 @@ the encoding (e.g@. @code{"ISO-8859-2"} for Polish). @cindex Unicode character, width @cindex halfwidth @cindex fullwidth -@deftypefun int uc_width (ucs4_t @var{uc}, const char *@var{encoding}) +@deftypefun int uc_width (ucs4_t@tie{}@var{uc}, const@tie{}char@tie{}*@var{encoding}) Determines and returns the number of column positions required for @var{uc}. Returns -1 if @var{uc} is a control character that has an influence on the column position when output. @end deftypefun -@deftypefun int u8_width (const uint8_t *@var{s}, size_t @var{n}, const char *@var{encoding}) -@deftypefunx int u16_width (const uint16_t *@var{s}, size_t @var{n}, const char *@var{encoding}) -@deftypefunx int u32_width (const uint32_t *@var{s}, size_t @var{n}, const char *@var{encoding}) +@deftypefun int u8_width (const@tie{}uint8_t@tie{}*@var{s}, size_t@tie{}@var{n}, const@tie{}char@tie{}*@var{encoding}) +@deftypefunx int u16_width (const@tie{}uint16_t@tie{}*@var{s}, size_t@tie{}@var{n}, const@tie{}char@tie{}*@var{encoding}) +@deftypefunx int u32_width (const@tie{}uint32_t@tie{}*@var{s}, size_t@tie{}@var{n}, const@tie{}char@tie{}*@var{encoding}) Determines and returns the number of column positions required for first @var{n} units (or fewer if @var{s} ends before this) in @var{s}. This function ignores control characters in the string. @end deftypefun -@deftypefun int u8_strwidth (const uint8_t *@var{s}, const char *@var{encoding}) -@deftypefunx int u16_strwidth (const uint16_t *@var{s}, const char *@var{encoding}) -@deftypefunx int u32_strwidth (const uint32_t *@var{s}, const char *@var{encoding}) +@deftypefun int u8_strwidth (const@tie{}uint8_t@tie{}*@var{s}, const@tie{}char@tie{}*@var{encoding}) +@deftypefunx int u16_strwidth (const@tie{}uint16_t@tie{}*@var{s}, const@tie{}char@tie{}*@var{encoding}) +@deftypefunx int u32_strwidth (const@tie{}uint32_t@tie{}*@var{s}, const@tie{}char@tie{}*@var{encoding}) Determines and returns the number of column positions required for @var{s}. This function ignores control characters in the string. @end deftypefun |