Move MagiskInit::check_two_stage to rust

This commit is contained in:
LoveSy
2025-01-31 14:18:50 +08:00
committed by John Wu
parent 823e31a91b
commit 2aa7f1c094
3 changed files with 23 additions and 21 deletions
-1
View File
@@ -88,6 +88,5 @@ pub mod ffi {
unsafe fn patch_sepolicy(self: &MagiskInit, in_: *const c_char, out: *const c_char);
fn hijack_sepolicy(self: &mut MagiskInit) -> bool;
fn backup_init(self: &MagiskInit) -> *const c_char;
fn check_two_stage(self: &MagiskInit) -> bool;
}
}