mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 23:51:46 +00:00
Listing functions
This commit is contained in:
parent
62008635c5
commit
36e2a46e07
1 changed files with 2 additions and 1 deletions
3
exec.c
3
exec.c
|
@ -277,7 +277,8 @@ int main(int argc, char **argv)
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < prog->functions_count; ++i) {
|
for (i = 1; i < prog->functions_count; ++i) {
|
||||||
|
printf("Found function: %s\n", prog_getstring(prog, prog->functions[i].name));
|
||||||
}
|
}
|
||||||
|
|
||||||
prog_delete(prog);
|
prog_delete(prog);
|
||||||
|
|
Loading…
Reference in a new issue