bspatch_apply method
应用 bspatch 补丁(文件路径方式)
@param old_file 原始文件路径 @param patch_file 补丁文件路径 @param new_file 输出文件路径 @return 0 表示成功,负数表示错误码
Implementation
int bspatch_apply(
ffi.Pointer<ffi.Char> old_file,
ffi.Pointer<ffi.Char> patch_file,
ffi.Pointer<ffi.Char> new_file,
) {
return _bspatch_apply(old_file, patch_file, new_file);
}