mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
[gamecode] Clean up string_t and pointer_t
They are both gone, and pr_pointer_t is now pr_ptr_t (pointer may be a little clearer than ptr, but ptr is consistent with things like intptr, and keeps the type name short).
This commit is contained in:
parent
9348f7b89c
commit
2df64384c1
50 changed files with 338 additions and 340 deletions
|
@ -109,9 +109,9 @@ setup_test (test_t *test)
|
|||
memset (test_pr.pr_globals + test->num_globals, 0,
|
||||
test->extra_globals * sizeof (pr_type_t));
|
||||
if (test->stack_size) {
|
||||
pointer_t stack = num_globals - test->stack_size;
|
||||
pr_ptr_t stack = num_globals - test->stack_size;
|
||||
test_pr.stack_bottom = stack + 4;
|
||||
test_pr.globals.stack = (pointer_t *) (test_pr.pr_globals + stack);
|
||||
test_pr.globals.stack = (pr_ptr_t *) (test_pr.pr_globals + stack);
|
||||
*test_pr.globals.stack = num_globals;
|
||||
}
|
||||
if (test->edict_area) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue