fn write_function_wrapper( w: &mut Vec<u8>, func: &Func, package_name: &str, use_symbols: bool, ) -> Result<()>
Generate a wrapper for a non-method function.