Skip to main content

arrayuniq_freenode

Function arrayuniq_freenode 

Source
pub fn arrayuniq_freenode()
Expand description

Port of arrayuniq_freenode(HashNode hn) from Src/params.c:4443. C body: zsfree(((Pathnode)hn)->name); zfree(hn, sizeof…); — the freenode callback for the temporary HashTable arrayuniq builds. Rust drop semantics handle this; no-op shim. is (void)hn; — intentional no-op; passed as freenode callback to scratch hashtable used by arrayuniq so existing entries aren’t freed when the table is torn down. WARNING: param names don’t match C — Rust=() vs C=(hn) WARNING: param names don’t match C — Rust=() vs C=(pm, x)