Skip to main content

scan_nonapi_attrib_calls

Function scan_nonapi_attrib_calls 

Source
fn scan_nonapi_attrib_calls(lines: &[&str], data: &mut FileData)
Expand description

Scan raw source text for calls to, or declarations of, ATTRIB / SET_ATTRIB and their _unchecked forms.

Only a whole identifier followed by ( counts, so the API entry points that share the suffix (ANY_ATTRIB, CLEAR_ATTRIB, DUPLICATE_ATTRIB, SHALLOW_DUPLICATE_ATTRIB) are not flagged. A declaration in an extern block (fn ATTRIB(x: SEXP) -> SEXP;) is flagged too, because that is how the symbol reaches the package’s shared object.