|
GnuCash
5.6-150-g038405b370+
|
This is the API for GTables, a datatype for 2-dimensional tables with automatic resizing and memory management. More...
#include <glib.h>Go to the source code of this file.
Typedefs | |
| typedef void(* | g_table_entry_constructor) (gpointer entry, gpointer user_data) |
| typedef void(* | g_table_entry_destroyer) (gpointer entry, gpointer user_data) |
Functions | |
| GTable * | g_table_new (guint entry_size, g_table_entry_constructor constructor, g_table_entry_destroyer destroyer, gpointer user_data) |
| Create a new table with the given entry constructor and destroyer. More... | |
| void | g_table_destroy (GTable *gtable) |
| Free the table and all associated table elements. More... | |
| gpointer | g_table_index (GTable *gtable, int row, int col) |
| Return the element at the given row and column. More... | |
| void | g_table_resize (GTable *gtable, int rows, int cols) |
| Resize the table, allocating and deallocating extra table members if needed. More... | |
| int | g_table_rows (GTable *gtable) |
| Return the number of table rows. More... | |
| int | g_table_cols (GTable *gtable) |
| Return the number of table columns. More... | |
This is the API for GTables, a datatype for 2-dimensional tables with automatic resizing and memory management.
Definition in file gtable.h.
1.8.14