Create devel package not to install header and .pc file in binary
[platform/core/uifw/anthy.git] / anthy / matrix.h
1 /* Á¹ÔÎó¤ò°·¤¦¤¿¤á¤Î¥³¡¼¥É */
2 #ifndef _matrix_h_included_
3 #define _matrix_h_included_
4
5 struct matrix_image {
6   /* number of 'int elements */
7   int size;
8   /* array of 'int */
9   int *image;
10 };
11
12 struct sparse_matrix;
13 struct sparse_array;
14
15 /* ¹ÔÎó¤ò¹½À®¤¹¤ëAPI */
16 struct sparse_matrix *anthy_sparse_matrix_new(void);
17 void anthy_sparse_matrix_set(struct sparse_matrix *m, int row, int column,
18                              int value, void *ptr);
19 int anthy_sparse_matrix_get_int(struct sparse_matrix *m, int row, int column);
20 void anthy_sparse_matrix_make_matrix(struct sparse_matrix *m);
21 /* ¹ÔÎ󥤥᡼¥¸¤ò¹½ÃÛ¤¹¤ëAPI(ÇÛÎó¤Ïhost byte order) */
22 struct matrix_image *anthy_matrix_image_new(struct sparse_matrix *s);
23 /* ¹ÔÎ󥤥᡼¥¸¤Ë¥¢¥¯¥»¥¹¤¹¤ëAPI(ÇÛÎó¤Ïnetwork byte order) */
24 int anthy_matrix_image_peek(int *im, int row, int col);
25
26 #endif