Skip to main content

ecgetstr

Function ecgetstr 

Source
pub fn ecgetstr(s: &mut estate, dup: i32, tokflag: Option<&mut i32>) -> String
Expand description

Port of ecgetstr(Estate s, int dup, int *tokflag) from Src/parse.c:2855. s->pc advances through the wordcode buffer; s->strs indexes the string pool. Returns the interned string (or a 1-3-char literal inlined directly into the wordcode word).