Function ntcore_sys::NT_GetEntryBoolean [] [src]

pub unsafe extern "C" fn NT_GetEntryBoolean(
    entry: NT_Entry,
    last_change: *mut u64,
    v_boolean: *mut NT_Bool
) -> NT_Bool

Returns the boolean currently assigned to the entry name. If the entry name is not currently assigned, or is assigned to a different type, returns 0.

@param entry entry handle @param last_change returns time in ms since the last change in the value @param v_boolean returns the boolean assigned to the name @return 1 if successful, or 0 if value is unassigned or not a boolean