Usage
Assigns a value in a table. The caller of the dtw_table_SetV() utility function retains ownership of the memory pointed to by the src parameter. To delete the table value, assign the value to NULL.
Format
int dtw_table_SetV(void *table, char *src, int row, int col)
Parameters
table | A pointer to the table whose value is being assigned. |
src | A character string assigned to the new value. |
row | The row number of the new value. |
col | The column number of the new value. |
Examples
void *myTable; char *myTableValue = "newValue"; rc = dtw_table_SetV(myTable, myTableValue, 3, 5);