Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.3
 
1.4
 
MAIN:plunky:20140527190007
 
unicode.c
_>3131 #include <ctype.h>
 3232 #include "unicode.h"
 3333 
<> 34+/*
  35+ * encode a 32-bit code point as UTF-8
  36+ * return end position
  37+ */
3438 char *
 3539 cp2u8(char *p,unsigned int c)
 3640 {
     
 !
6872         return (char *)s;
 6973 }
 7074 
<> 75+/*
  76+ * decode 32-bit code point from UTF-8
  77+ * move pointer
  78+ */
7179 unsigned int
 7280 u82cp(char **q)
 7381 {
     
 !
114122         return r;
 115123 }
 116124 
<> 125+/*
  126+ * return length of UTF-8 code point
  127+ */
<_117128 int
 118129 u8len(char *t)
 119130 {
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-10-31 05:55 +0100