diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-08-03 19:22:36 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-08-03 19:22:36 +0200 |
| commit | 853bbb3752a5fa2f58ef456ffb6e3a552e13cb11 (patch) | |
| tree | ce49a533f82a42a65fa6a4771a7b8fbfe33798cf /simclist-1.5/regrtest/printlist.c | |
initial commit
Diffstat (limited to 'simclist-1.5/regrtest/printlist.c')
| -rw-r--r-- | simclist-1.5/regrtest/printlist.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/simclist-1.5/regrtest/printlist.c b/simclist-1.5/regrtest/printlist.c new file mode 100644 index 0000000..bb4d0c7 --- /dev/null +++ b/simclist-1.5/regrtest/printlist.c @@ -0,0 +1,11 @@ +#include <stdio.h> + + +void printlist(list_t *l) { + int i; + + for (i = 0; i < list_size(l); i++) { + printf ("> %d\n", *(int *)list_get_at(l, i)); + } +} + |
