This commit is contained in:
Wilson Lin 2021-08-07 20:57:34 +10:00
parent 82533ef133
commit 4c4147f4ae
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ pub extern "C" fn ffi_drop_cfg(cfg: *const Cfg) -> () {
}
#[no_mangle]
// TODO Return result memory (let Node.js manage GC) instead of overwriting source.
pub extern "C" fn ffi_in_place(
code: *mut u8,
code_len: usize,