mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[intl] is_codepoint_supported static
This commit is contained in:
parent
9e7257c3b7
commit
2e38104b40
@ -205,7 +205,9 @@ struct {
|
||||
unicode_val_T *list;
|
||||
} codepoints;
|
||||
|
||||
int is_codepoint_supported(unicode_val_T u) {
|
||||
static int
|
||||
is_codepoint_supported(unicode_val_T u)
|
||||
{
|
||||
int first, last, middle;
|
||||
|
||||
if (codepoints.size == -1)
|
||||
@ -227,7 +229,9 @@ int is_codepoint_supported(unicode_val_T u) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int codepoint_replacement(unicode_val_T u) {
|
||||
int
|
||||
codepoint_replacement(unicode_val_T u)
|
||||
{
|
||||
int s;
|
||||
|
||||
if (is_codepoint_supported(u))
|
||||
|
@ -160,7 +160,6 @@ char *utf8_step_forward(char *, char *,
|
||||
int, enum utf8_step, int *);
|
||||
char *utf8_step_backward(char *, char *,
|
||||
int, enum utf8_step, int *);
|
||||
int is_codepoint_supported(unicode_val_T u);
|
||||
int codepoint_replacement(unicode_val_T u);
|
||||
int unicode_to_cell(unicode_val_T);
|
||||
unicode_val_T unicode_fold_label_case(unicode_val_T);
|
||||
|
Loading…
Reference in New Issue
Block a user