mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-21 23:47:39 +00:00
Use cxx_name
This commit is contained in:
parent
0ba573b789
commit
0c28a916be
@ -32,8 +32,8 @@ pub mod ffi {
|
||||
}
|
||||
|
||||
extern "Rust" {
|
||||
#[rust_name = "log_from_cxx"]
|
||||
fn log_with_rs(level: LogLevel, msg: &[u8]);
|
||||
#[cxx_name = "log_with_rs"]
|
||||
fn log_from_cxx(level: LogLevel, msg: &[u8]);
|
||||
fn exit_on_error(b: bool);
|
||||
fn set_log_level_state(level: LogLevel, enabled: bool);
|
||||
fn cmdline_logging();
|
||||
|
Loading…
x
Reference in New Issue
Block a user