| gucharmap Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
struct GucharmapCodepointList; gunichar gucharmap_codepoint_list_get_char (GucharmapCodepointList *list,gint index); gint gucharmap_codepoint_list_get_index (GucharmapCodepointList *list,gunichar wc); gint gucharmap_codepoint_list_get_last_index (GucharmapCodepointList *list);
GObject
+----GucharmapCodepointList
+----GucharmapBlockCodepointList
+----GucharmapScriptCodepointList
gunichar gucharmap_codepoint_list_get_char (GucharmapCodepointList *list,gint index);
|
a GucharmapCodepointList |
|
index indicating which character to get |
Returns : |
code point at index index in the codepoint list, or
(gunichar)(-1) if index is beyond the last index. |
gint gucharmap_codepoint_list_get_index (GucharmapCodepointList *list,gunichar wc);
|
a GucharmapCodepointList |
|
character for which to find the index |
Returns : |
index of wc, or -1 if wc is not in this
codepoint list. |
gint gucharmap_codepoint_list_get_last_index
(GucharmapCodepointList *list);
|
a GucharmapCodepointList |
Returns : |
last index in this codepoint list. |