Usage
Creates a Net.Data table object and initializes all column headings and field values to NULL. The caller specifies the initial number of rows and columns, and the maximum number of rows. If the initial number of rows and columns is 0, you must use the dtw_table_SetCols() function to specify the number of fields in a row before any table function calls.
Format
int dtw_table_New(void **table, int rows, int cols, int row_lim)
Parameters
table | The name of the new table. |
rows | The initial number of rows to allocate in the new table. |
cols | The initial number of columns to allocate in the new table. |
row_lim | The maximum number of rows this table can contain. |
Examples
void *myTable; rc = dtw_table_New(&myTable, 20, 5, 100);