Skip to main content

setfunctions

Function setfunctions 

Source
pub fn setfunctions(pm: Param, ht: &[(String, String)], dis: i32)
Expand description

Port of setfunctions(Param pm, HashTable ht, int dis) from Src/Modules/parameter.c:344. C: static void setfunctions(Param pm, HashTable ht, int dis) — install all functions in ht. WARNING: param shape doesn’t match C — C passes the temporary HashTable of value-carrying child Params (see setpmcommands); zshrs passes the (key, value) pairs directly. Additive: existing functions are NOT flushed.