alef 0.62.1

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
if this == 0 {
        set_last_error(ALEF_INVALID_HANDLE_ERROR, "zero is not a valid handle");
        {{ fail_ret }}
    }
    let obj_ptr = match locked_handle_ptr::<{{ qualified }}>(&mut __alef_guards, this) {
        Ok(value) => value,
        Err(error) => { set_handle_error(&error); {{ fail_ret }} }
    };
    // SAFETY: the registry entry guard remains held for the duration of this call.
    let obj = unsafe { &mut *obj_ptr };