mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-22 02:31:28 +00:00
More stuff in qcvm -printfuns
This commit is contained in:
parent
fe150aee72
commit
5f0f5bedbc
1 changed files with 4 additions and 2 deletions
6
exec.c
6
exec.c
|
@ -948,13 +948,15 @@ int main(int argc, char **argv)
|
|||
else if (opts_printfuns) {
|
||||
for (i = 0; i < vec_size(prog->functions); ++i) {
|
||||
int32_t a;
|
||||
printf("Function: %-16s taking %i parameters:",
|
||||
printf("Function: %-16s taking %i parameters:(",
|
||||
prog_getstring(prog, prog->functions[i].name),
|
||||
(unsigned int)prog->functions[i].nargs);
|
||||
for (a = 0; a < prog->functions[i].nargs; ++a) {
|
||||
printf(" %i", prog->functions[i].argsize[a]);
|
||||
}
|
||||
printf(" firstlocal: %i\n", prog->functions[i].firstlocal);
|
||||
printf(") locals: %i + %i\n",
|
||||
prog->functions[i].firstlocal,
|
||||
prog->functions[i].locals);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue