mhgu-forge-sys 1.1.3

Raw FFI bindings to the forge plugin API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use core::ffi::c_char;

#[repr(C)]
pub enum Level {
    Debug = 0,
    Info = 1,
    Warn = 2,
    Error = 3,
}

unsafe extern "C" {
    pub fn forge_log(level: Level, format: *const c_char, ...);
    pub fn forge_log_getLevel() -> Level;
}