pub fn cur_add_func(
nam: &str,
shf_name: &str,
shf_flags: i32,
names: &mut Vec<String>,
progs: &mut Vec<wcfunc>,
hlen: &mut i32,
tlen: &mut i32,
what: i32,
) -> i32Expand description
Port of cur_add_func(char *nam, Shfunc shf, LinkList names, LinkList progs, int *hlen, int *tlen, int what)
from Src/parse.c:3489. Adds a shfunc to the in-build dump
progs+names lists. Stub: Eprog for the function body isn’t
yet wired through shfunc.funcdef to be serializable here.