Skip to main content

disablehashnode

Function disablehashnode 

Source
pub fn disablehashnode<T: HashNodeFlags>(
    hn: &mut HashMap<String, T>,
    flags: &str,
) -> bool
Expand description

Port of disablehashnode(HashNode hn, UNUSED(int flags)) from Src/hashtable.c:323.

C body: hn->flags |= DISABLED;. Generic helper that flips the DISABLED bit on the named entry via HashNodeFlags.