pub type TwigLanguageFn = unsafe extern "C" fn(user_data: *mut c_void, row: *const u8, row_len: usize, input: *const u8, input_len: usize, out: *mut *mut u8, out_len: *mut usize) -> c_int;Expand description
A language function: input in, and on success an allocation of the
host’s out through out/out_len, returning 0. On failure it returns
non-zero and may hand out a UTF-8 message the same way. Twig releases
whatever it hands out with the table’s free.