diff options
author | Steve Bennett <steveb@workware.net.au> | 2011-09-12 13:33:51 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2011-09-12 16:58:56 +1000 |
commit | d9c7cb8ee1548b7b94ca9758ae6501cd9a1e0ee6 (patch) | |
tree | 11c7f1bfb943313d05423884425dae6ecf18e7d2 /utf8.h | |
parent | 39f8b5dedf4b713ce58cfa4bdd84d473d30fbeba (diff) | |
download | jimtcl-d9c7cb8ee1548b7b94ca9758ae6501cd9a1e0ee6.zip jimtcl-d9c7cb8ee1548b7b94ca9758ae6501cd9a1e0ee6.tar.gz jimtcl-d9c7cb8ee1548b7b94ca9758ae6501cd9a1e0ee6.tar.bz2 |
Remove all trailing whitespace in source
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -12,7 +12,7 @@ /** * Converts the given unicode codepoint (0 - 0xffff) to utf-8 * and stores the result at 'p'. - * + * * Returns the number of utf-8 characters (1-3). */ int utf8_fromunicode(char *p, unsigned short uc); @@ -32,7 +32,7 @@ int utf8_fromunicode(char *p, unsigned short uc); #elif !defined(JIM_BOOTSTRAP) /** * Returns the length of the utf-8 sequence starting with 'c'. - * + * * Returns 1-4, or -1 if this is not a valid start byte. * * Note that charlen=4 is not supported by the rest of the API. @@ -40,7 +40,7 @@ int utf8_fromunicode(char *p, unsigned short uc); int utf8_charlen(int c); /** - * Returns the number of characters in the utf-8 + * Returns the number of characters in the utf-8 * string of the given byte length. * * Any bytes which are not part of an valid utf-8 @@ -54,7 +54,7 @@ int utf8_strlen(const char *str, int bytelen); /** * Returns the byte index of the given character in the utf-8 string. - * + * * The string *must* be null terminated. * * This will return the byte length of a utf-8 string @@ -65,7 +65,7 @@ int utf8_index(const char *str, int charindex); /** * Returns the unicode codepoint corresponding to the * utf-8 sequence 'str'. - * + * * Stores the result in *uc and returns the number of bytes * consumed. * |