1
0
Fork 0
forked from wry/wry

autocommit 2022-04-30 19:59:20 CEST

This commit is contained in:
Julian Orth 2022-04-30 19:59:20 +02:00
parent ac56970f14
commit 4373ed05bf
2 changed files with 2 additions and 2 deletions

View file

@ -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() {

View file

@ -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)),