1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
/*!
    Raw pointers to logprintf and the list of AMX functions.

    Do **not** use it directly.

    Used in `log!` macro and `amx` module.
*/

use std;
use std::sync::Mutex;
use types::Logprintf_t;

lazy_static! {
    pub static ref logprintf: Mutex<Logprintf_t> = unsafe {
        Mutex::new(std::mem::transmute(0u32))
    };
}

pub static mut amx_functions: *const u32 = 0 as *const u32;