Go to the source code of this file.
Typedefs | |
typedef gdsl_2darray * | gdsl_2darray_t |
GDSL 2D-array type. | |
Functions | |
gdsl_2darray_t | gdsl_2darray_alloc (const char *NAME, const ulong R, const ulong C, const gdsl_alloc_func_t ALLOC_F, const gdsl_free_func_t FREE_F) |
Create a new 2D-array. | |
void | gdsl_2darray_free (gdsl_2darray_t A) |
Destroy a 2D-array. | |
const char * | gdsl_2darray_get_name (const gdsl_2darray_t A) |
Get the name of a 2D-array. | |
ulong | gdsl_2darray_get_rows_number (const gdsl_2darray_t A) |
Get the number of rows of a 2D-array. | |
ulong | gdsl_2darray_get_columns_number (const gdsl_2darray_t A) |
Get the number of columns of a 2D-array. | |
ulong | gdsl_2darray_get_size (const gdsl_2darray_t A) |
Get the size of a 2D-array. | |
gdsl_element_t | gdsl_2darray_get_content (const gdsl_2darray_t A, const ulong R, const ulong C) |
Get an element from a 2D-array. | |
gdsl_2darray_t | gdsl_2darray_set_name (gdsl_2darray_t A, const char *NEW_NAME) |
Set the name of a 2D-array. | |
gdsl_element_t | gdsl_2darray_set_content (gdsl_2darray_t A, const ulong R, const ulong C, void *VALUE) |
Modify an element in a 2D-array. | |
void | gdsl_2darray_write (const gdsl_2darray_t A, const gdsl_write_func_t WRITE_F, FILE *OUTPUT_FILE, void *USER_DATA) |
Write the content of a 2D-array to a file. | |
void | gdsl_2darray_write_xml (const gdsl_2darray_t A, const gdsl_write_func_t WRITE_F, FILE *OUTPUT_FILE, void *USER_DATA) |
Write the content of a 2D array to a file into XML. | |
void | gdsl_2darray_dump (const gdsl_2darray_t A, const gdsl_write_func_t WRITE_F, FILE *OUTPUT_FILE, void *USER_DATA) |
Dump the internal structure of a 2D array to a file. |