MucharmapCodepointList

MucharmapCodepointList

Synopsis

                    MucharmapCodepointList;
gunichar            mucharmap_codepoint_list_get_char   (MucharmapCodepointList *list,
                                                         gint index);
gint                mucharmap_codepoint_list_get_index  (MucharmapCodepointList *list,
                                                         gunichar wc);
gint                mucharmap_codepoint_list_get_last_index
                                                        (MucharmapCodepointList *list);

Object Hierarchy

  GObject
   +----MucharmapCodepointList
         +----MucharmapBlockCodepointList
         +----MucharmapScriptCodepointList

Description

Details

MucharmapCodepointList

typedef struct _MucharmapCodepointList MucharmapCodepointList;


mucharmap_codepoint_list_get_char ()

gunichar            mucharmap_codepoint_list_get_char   (MucharmapCodepointList *list,
                                                         gint index);

list :

a MucharmapCodepointList

index :

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.

mucharmap_codepoint_list_get_index ()

gint                mucharmap_codepoint_list_get_index  (MucharmapCodepointList *list,
                                                         gunichar wc);

list :

a MucharmapCodepointList

wc :

character for which to find the index

Returns :

index of wc, or -1 if wc is not in this codepoint list.

mucharmap_codepoint_list_get_last_index ()

gint                mucharmap_codepoint_list_get_last_index
                                                        (MucharmapCodepointList *list);

list :

a MucharmapCodepointList

Returns :

last index in this codepoint list.