mirror of
https://github.com/rkd77/elinks.git
synced 2025-05-18 00:48:57 -04:00
Revise comments in struct codepage_desc and struct conv_table.
This commit is contained in:
parent
455ea77ead
commit
a577455b24
@ -60,7 +60,7 @@ struct codepage_desc {
|
|||||||
|
|
||||||
/* If some byte in the codepage corresponds to multiple Unicode
|
/* If some byte in the codepage corresponds to multiple Unicode
|
||||||
* characters, then the preferred character is in @highhalf
|
* characters, then the preferred character is in @highhalf
|
||||||
* above, and the rest are listed here in @extra. This table
|
* above, and the rest are listed here in @table. This table
|
||||||
* is not used for translating from the codepage to Unicode. */
|
* is not used for translating from the codepage to Unicode. */
|
||||||
const struct table_entry *table;
|
const struct table_entry *table;
|
||||||
};
|
};
|
||||||
|
@ -41,9 +41,9 @@ struct conv_table {
|
|||||||
/* If @t==0: a null-terminated string that is the
|
/* If @t==0: a null-terminated string that is the
|
||||||
* corresponding character in the target charset.
|
* corresponding character in the target charset.
|
||||||
* Normally, the string is statically allocated.
|
* Normally, the string is statically allocated.
|
||||||
* However, if the translation table is to UTF-8,
|
* However, if the conversion table is to UTF-8, then
|
||||||
* then the strings in elements 0x80 to 0xFF are
|
* the strings in elements 0x80 to 0xFF are allocated
|
||||||
* allocated with mem_alloc. */
|
* with @mem_alloc and owned by the table. */
|
||||||
const unsigned char *str;
|
const unsigned char *str;
|
||||||
/* If @t==1: a pointer to a nested conversion table
|
/* If @t==1: a pointer to a nested conversion table
|
||||||
* (with 256 elements) that describes how to convert
|
* (with 256 elements) that describes how to convert
|
||||||
|
Loading…
x
Reference in New Issue
Block a user