mhgu-forge-sys 1.4.0

Raw FFI bindings to the forge plugin API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[repr(C)]
#[derive(Default)]
pub struct MutexType {
    _reserved: [u8; 20],
}

unsafe extern "C" {
    pub fn nnosInitializeMutex(mutex: *mut MutexType, recursive: bool, lock_level: i32);
    pub fn nnosFinalizeMutex(mutex: *mut MutexType);
    pub fn nnosLockMutex(mutex: *mut MutexType);
    pub fn nnosTryLockMutex(mutex: *mut MutexType) -> bool;
    pub fn nnosUnlockMutex(mutex: *mut MutexType);
}