Commit 691d963b authored by Ignacio Losiggio's avatar Ignacio Losiggio
Browse files

Agregado nTablePrint

parent c8d3f88c
......@@ -60,5 +60,9 @@ void nTableRemoveAll(nTable_t* t, void* data, funcCmp_t* fc, funcDelete_t* fd) {
}
void nTablePrint(nTable_t* t, FILE *pFile, funcPrint_t* fp) {
for (uint32_t i = 0; i < t->size; i++) {
fprintf(pFile, "%i = ", i);
listPrint(t->listArray[i], pFile, fp);
fputc('\n', pFile);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment