fn drop_boxed_value<T>(v: Value) -> Value {
    let obj: *mut T = v.ptr_val::<T>() as *mut T;
    if obj.is_null() {
        panic!("Cannot free a null pointer!");
    }
    let boxed: Box<T> = unsafe { Box::from_raw(obj) };
    drop(boxed);
    Value::unit()
}
/// Ocaml garbage collector callback function for heap-allocated objects.
Ocaml garbage collector callback function for heap-allocated objects.
Ocaml garbage collector callback function for heap - allocated objects .
fn drop_boxed_value<T>(v: Value) -> Value {
    let obj: *mut T = v.ptr_val::<T>() as *mut T;
    if obj.is_null() {
        panic!("Cannot free a null pointer!");
    }
    let boxed: Box<T> = unsafe { Box::from_raw(obj) };
    drop(boxed);
    Value::unit()
}
fn drop_boxed_value < T > ( v : Value ) -> Value { let obj : * mut T = v . ptr_val :: < T > ( ) as * mut T ; if obj . is_null ( ) { panic ! ( " " ) ; } let boxed : Box < T > = unsafe { Box :: from_raw ( obj ) } ; drop ( boxed ) ; Value :: unit ( ) }
Ocaml garbage collector callback function for heap-allocated objects.
Ocaml garbage collector callback function for heap - allocated objects .
v
Value