mirror of
https://github.com/bdwgc/bdwgc-rust.git
synced 2026-05-29 18:08:56 -06:00
Fix
This commit is contained in:
@@ -95,7 +95,7 @@ impl Allocator {
|
|||||||
GC_register_finalizer(
|
GC_register_finalizer(
|
||||||
ptr,
|
ptr,
|
||||||
finalize::<F>,
|
finalize::<F>,
|
||||||
Box::new(finalizer).into_raw() as *const _ as *const _,
|
Box::into_raw(Box::new(finalizer)) as *const _ as *const _,
|
||||||
null(),
|
null(),
|
||||||
null(),
|
null(),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user