Commit 8b7955da authored by Derek Buitenhuis's avatar Derek Buitenhuis
Browse files

capi: Actually mark rav1e_twopass_unref as a C function


Signed-off-by: default avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent f9ad26f5
......@@ -385,7 +385,7 @@ pub unsafe extern "C" fn rav1e_twopass_out(ctx: *mut Context, buf_size: *mut siz
}
#[no_mangle]
pub unsafe extern fn rav1e_twopass_unref(buf: *mut u8) {
pub unsafe extern "C" fn rav1e_twopass_unref(buf: *mut u8) {
if !buf.is_null() {
let _ = Box::from_raw(buf);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment