Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Ignacio Esteban Losiggio
tp1.orga2.dc.uba.ar
Commits
691d963b
Commit
691d963b
authored
6 years ago
by
Ignacio Losiggio
Browse files
Options
Download
Email Patches
Plain Diff
Agregado nTablePrint
parent
c8d3f88c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
lib.c
lib.c
+5
-1
No files found.
lib.c
View file @
691d963b
...
...
@@ -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
);
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment