You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Cleanup filter_out_stream implementation
This commit is contained in:
@@ -6,13 +6,14 @@ pub use payload::*;
|
||||
mod payload;
|
||||
mod update_metadata;
|
||||
|
||||
#[cxx::bridge(namespace = "rust")]
|
||||
#[cxx::bridge]
|
||||
pub mod ffi {
|
||||
extern "C++" {
|
||||
include!("compress.hpp");
|
||||
pub unsafe fn decompress(in_: *const u8, in_size: u64, fd: i32) -> bool;
|
||||
}
|
||||
|
||||
#[namespace = "rust"]
|
||||
extern "Rust" {
|
||||
unsafe fn extract_boot_from_payload(
|
||||
in_path: *const c_char,
|
||||
|
||||
Reference in New Issue
Block a user