Skip to main content

parse_defines

Function parse_defines 

Source
pub fn parse_defines(path: &Path) -> HashSet<String>
Expand description

Parse a C header and return all #defined macro names.

Flat scan — does not evaluate #if/#ifdef guards.