Add void_obj option
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user