提交 b5e04c7d 编写于 作者: B Behdad Esfahbod

[ucdn] Match upstream changes

上级 a52f51b2
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
#include "ucdn.h" #include "ucdn.h"
typedef struct { typedef struct {
const unsigned char category; unsigned char category;
const unsigned char combining; unsigned char combining;
const unsigned char bidi_class; unsigned char bidi_class;
const unsigned char mirrored; unsigned char mirrored;
const unsigned char east_asian_width; unsigned char east_asian_width;
const unsigned char normalization_check; unsigned char normalization_check;
const unsigned char script; unsigned char script;
} UCDRecord; } UCDRecord;
typedef struct { typedef struct {
...@@ -86,7 +86,7 @@ static const unsigned short *get_decomp_record(uint32_t code) ...@@ -86,7 +86,7 @@ static const unsigned short *get_decomp_record(uint32_t code)
return &decomp_data[index]; return &decomp_data[index];
} }
static const int get_comp_index(uint32_t code, const Reindex *idx) static int get_comp_index(uint32_t code, const Reindex *idx)
{ {
int i; int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册