autocommit 2022-04-30 19:59:20 CEST
This commit is contained in:
parent
ac56970f14
commit
4373ed05bf
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ macro_rules! config {
|
|||
($f:path) => {
|
||||
#[no_mangle]
|
||||
#[used]
|
||||
pub static mut I4_CONFIG_ENTRY: $crate::_private::ConfigEntry = {
|
||||
pub static mut JAY_CONFIG_ENTRY: $crate::_private::ConfigEntry = {
|
||||
struct X;
|
||||
impl $crate::_private::Config for X {
|
||||
extern "C" fn configure() {
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ impl ConfigProxy {
|
|||
Ok(l) => l,
|
||||
Err(e) => return Err(ConfigError::CouldNotLoadLibrary(e)),
|
||||
};
|
||||
let entry = lib.get::<&'static ConfigEntry>(b"I4_CONFIG_ENTRY\0");
|
||||
let entry = lib.get::<&'static ConfigEntry>(b"JAY_CONFIG_ENTRY\0");
|
||||
let entry = match entry {
|
||||
Ok(e) => *e,
|
||||
Err(e) => return Err(ConfigError::LibraryDoesNotContainEntry(e)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue