forked from GitHub/bdwgc-rust
Refactor
This commit is contained in:
@@ -95,7 +95,7 @@ impl Allocator {
|
|||||||
GC_register_finalizer(
|
GC_register_finalizer(
|
||||||
ptr,
|
ptr,
|
||||||
finalize::<F>,
|
finalize::<F>,
|
||||||
Box::into_raw(Box::new(finalizer)) as *const _ as *const _,
|
Box::into_raw(Box::new(finalizer)) as *const _,
|
||||||
null(),
|
null(),
|
||||||
null(),
|
null(),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user