From 4c4147f4ae7563410f1f9f6bd6010003e2458234 Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Sat, 7 Aug 2021 20:57:34 +1000 Subject: [PATCH] Add TODO --- nodejs/native/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nodejs/native/src/lib.rs b/nodejs/native/src/lib.rs index c58e162..70ff066 100644 --- a/nodejs/native/src/lib.rs +++ b/nodejs/native/src/lib.rs @@ -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,