mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-30 06:28:42 +00:00
Create custom cxx binding to Utf8CStr
This commit is contained in:
@@ -105,7 +105,7 @@ bool sepolicy::exists(const char *type) {
|
||||
}
|
||||
|
||||
void sepolicy::load_rule_file(const char *file) {
|
||||
rust::load_rule_file(*this, byte_view(file, false));
|
||||
rust::load_rule_file(*this, file);
|
||||
}
|
||||
|
||||
void sepolicy::load_rules(const std::string &rules) {
|
||||
|
||||
Reference in New Issue
Block a user