m17n ライブラリ 1.8.4
|
マクロ定義 | |
#define | POS_CHAR_TO_BYTE(mt, pos) |
#define | POS_BYTE_TO_CHAR(mt, pos_byte) |
#define | MTEXT_DATA(mt) ((mt)->data) |
#define | MTEXT_CAT_ASCII(mt, str) |
関数 | |
int | mtext__char_to_byte (MText *mt, int pos) |
int | mtext__byte_to_char (MText *mt, int pos_byte) |
void | mtext__enlarge (MText *mt, int nbytes) |
int | mtext__takein (MText *mt, int nchars, int nbytes) |
int | mtext__cat_data (MText *mt, unsigned char *p, int nbytes, enum MTextFormat format) |
MText * | mtext__from_data (const void *data, int nitems, enum MTextFormat format, int need_copy) |
void | mtext__adjust_format (MText *mt, enum MTextFormat format) |
int | mtext__bol (MText *mt, int pos) |
int | mtext__eol (MText *mt, int pos) |
void | mtext__wseg_fini () |
int | mtext__word_segment (MText *mt, int pos, int *from, int *to) |
#define POS_CHAR_TO_BYTE | ( | mt, | |
pos | |||
) |
#define POS_BYTE_TO_CHAR | ( | mt, | |
pos_byte | |||
) |
#define MTEXT_DATA | ( | mt | ) | ((mt)->data) |
#define MTEXT_CAT_ASCII | ( | mt, | |
str | |||
) |
int mtext__char_to_byte | ( | MText * | mt, |
int | pos | ||
) |
int mtext__byte_to_char | ( | MText * | mt, |
int | pos_byte | ||
) |
void mtext__enlarge | ( | MText * | mt, |
int | nbytes | ||
) |
int mtext__takein | ( | MText * | mt, |
int | nchars, | ||
int | nbytes | ||
) |
int mtext__cat_data | ( | MText * | mt, |
unsigned char * | p, | ||
int | nbytes, | ||
enum MTextFormat | format | ||
) |
MText * mtext__from_data | ( | const void * | data, |
int | nitems, | ||
enum MTextFormat | format, | ||
int | need_copy | ||
) |
void mtext__adjust_format | ( | MText * | mt, |
enum MTextFormat | format | ||
) |
int mtext__bol | ( | MText * | mt, |
int | pos | ||
) |
int mtext__eol | ( | MText * | mt, |
int | pos | ||
) |
void mtext__wseg_fini | ( | ) |
int mtext__word_segment | ( | MText * | mt, |
int | pos, | ||
int * | from, | ||
int * | to | ||
) |