diff options
Diffstat (limited to 'tests/suite/ecore/src/include/eina_matrixsparse.h')
-rw-r--r-- | tests/suite/ecore/src/include/eina_matrixsparse.h | 82 |
1 files changed, 56 insertions, 26 deletions
diff --git a/tests/suite/ecore/src/include/eina_matrixsparse.h b/tests/suite/ecore/src/include/eina_matrixsparse.h index cbf29ccb7e..561ff1a6ba 100644 --- a/tests/suite/ecore/src/include/eina_matrixsparse.h +++ b/tests/suite/ecore/src/include/eina_matrixsparse.h @@ -69,41 +69,71 @@ typedef struct _Eina_Matrixsparse_Item_Row Eina_Matrixsparse_Item_Row; /* constructors and destructors */ EAPI Eina_Matrixsparse *eina_matrixsparse_new(unsigned long rows, - unsigned long cols, - void (*free_func)(void *user_data, - void *cell_data), - const void *user_data); -EAPI void eina_matrixsparse_free(Eina_Matrixsparse *m); + unsigned long cols, + void (*free_func) (void + *user_data, + void + *cell_data), + const void *user_data); +EAPI void eina_matrixsparse_free(Eina_Matrixsparse * m); /* size manipulation */ -EAPI void eina_matrixsparse_size_get(const Eina_Matrixsparse *m, - unsigned long *rows, - unsigned long *cols); -EAPI Eina_Bool eina_matrixsparse_size_set(Eina_Matrixsparse *m, - unsigned long rows, - unsigned long cols); +EAPI void eina_matrixsparse_size_get(const Eina_Matrixsparse * m, + unsigned long *rows, + unsigned long *cols); +EAPI Eina_Bool eina_matrixsparse_size_set(Eina_Matrixsparse * m, + unsigned long rows, + unsigned long cols); /* data getting */ -EAPI Eina_Bool eina_matrixsparse_cell_idx_get(const Eina_Matrixsparse *m, unsigned long row, unsigned long col, Eina_Matrixsparse_Cell **cell); -EAPI void * eina_matrixsparse_cell_data_get(const Eina_Matrixsparse_Cell *cell); -EAPI void * eina_matrixsparse_data_idx_get(const Eina_Matrixsparse *m, unsigned long row, unsigned long col); -EAPI Eina_Bool eina_matrixsparse_cell_position_get(const Eina_Matrixsparse_Cell *cell, unsigned long *row, unsigned long *col); +EAPI Eina_Bool eina_matrixsparse_cell_idx_get(const Eina_Matrixsparse * m, + unsigned long row, + unsigned long col, + Eina_Matrixsparse_Cell ** + cell); +EAPI void *eina_matrixsparse_cell_data_get(const Eina_Matrixsparse_Cell * + cell); +EAPI void *eina_matrixsparse_data_idx_get(const Eina_Matrixsparse * m, + unsigned long row, + unsigned long col); +EAPI Eina_Bool eina_matrixsparse_cell_position_get(const + Eina_Matrixsparse_Cell * + cell, + unsigned long *row, + unsigned long *col); /* data setting */ -EAPI Eina_Bool eina_matrixsparse_cell_data_replace(Eina_Matrixsparse_Cell *cell, const void *data, void **p_old); -EAPI Eina_Bool eina_matrixsparse_cell_data_set(Eina_Matrixsparse_Cell *cell, const void *data); -EAPI Eina_Bool eina_matrixsparse_data_idx_replace(Eina_Matrixsparse *m, unsigned long row, unsigned long col, const void *data, void **p_old); -EAPI Eina_Bool eina_matrixsparse_data_idx_set(Eina_Matrixsparse *m, unsigned long row, unsigned long col, const void *data); +EAPI Eina_Bool eina_matrixsparse_cell_data_replace(Eina_Matrixsparse_Cell * + cell, const void *data, + void **p_old); +EAPI Eina_Bool eina_matrixsparse_cell_data_set(Eina_Matrixsparse_Cell * + cell, const void *data); +EAPI Eina_Bool eina_matrixsparse_data_idx_replace(Eina_Matrixsparse * m, + unsigned long row, + unsigned long col, + const void *data, + void **p_old); +EAPI Eina_Bool eina_matrixsparse_data_idx_set(Eina_Matrixsparse * m, + unsigned long row, + unsigned long col, + const void *data); /* data deleting */ -EAPI Eina_Bool eina_matrixsparse_row_idx_clear(Eina_Matrixsparse *m, unsigned long row); -EAPI Eina_Bool eina_matrixsparse_column_idx_clear(Eina_Matrixsparse *m, unsigned long col); -EAPI Eina_Bool eina_matrixsparse_cell_idx_clear(Eina_Matrixsparse *m, unsigned long row, unsigned long col); -EAPI Eina_Bool eina_matrixsparse_cell_clear(Eina_Matrixsparse_Cell *cell); +EAPI Eina_Bool eina_matrixsparse_row_idx_clear(Eina_Matrixsparse * m, + unsigned long row); +EAPI Eina_Bool eina_matrixsparse_column_idx_clear(Eina_Matrixsparse * m, + unsigned long col); +EAPI Eina_Bool eina_matrixsparse_cell_idx_clear(Eina_Matrixsparse * m, + unsigned long row, + unsigned long col); +EAPI Eina_Bool eina_matrixsparse_cell_clear(Eina_Matrixsparse_Cell * cell); /* iterators */ -EAPI Eina_Iterator *eina_matrixsparse_iterator_new(const Eina_Matrixsparse *m); -EAPI Eina_Iterator *eina_matrixsparse_iterator_complete_new(const Eina_Matrixsparse *m); +EAPI Eina_Iterator *eina_matrixsparse_iterator_new(const Eina_Matrixsparse + * m); +EAPI Eina_Iterator *eina_matrixsparse_iterator_complete_new(const + Eina_Matrixsparse + * m); /** * @} @@ -117,4 +147,4 @@ EAPI Eina_Iterator *eina_matrixsparse_iterator_complete_new(const Eina_Matrixspa * @} */ -#endif /* EINA_MATRIXSPARSE_H_ */ +#endif /* EINA_MATRIXSPARSE_H_ */ |