Add void_obj option

This commit is contained in:
2025-09-09 15:13:23 -07:00
parent 403618888c
commit 5064f304ca
3 changed files with 10 additions and 7 deletions

View File

@ -50,7 +50,7 @@ int main(int argc, const char **argv) {
struct ContextAndFlag ctx_and_flag = {.should_be_doing_gc = false};
RefcountContext *c = refcount_make_context(
offsetof(A, refcount), held_refs_callback, destroy_callback,
offsetof(A, refcount), NULL, held_refs_callback, destroy_callback,
&ctx_and_flag, &COUNTING_ALLOCATOR);
ctx_and_flag.ctx = c;