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