mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
Refactor pop_handle to not take the handle
This commit is contained in:
parent
32ddaa7624
commit
7dda5b992d
4 changed files with 16 additions and 16 deletions
4
quads.c
4
quads.c
|
@ -52,7 +52,7 @@ static Quad* make_tree(struct context *cx, int depth) {
|
|||
init_field((void**)&result->kids[i], HANDLE_REF(kids[i]));
|
||||
|
||||
for (size_t i = 0; i < 4; i++)
|
||||
POP_HANDLE(cx, kids[3 - i]);
|
||||
POP_HANDLE(cx);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
@ -162,7 +162,7 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
print_end_gc_stats(cx);
|
||||
|
||||
POP_HANDLE(cx, quad);
|
||||
POP_HANDLE(cx);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue