Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
forward_decl_audit.py File Reference

Go to the source code of this file.

Namespaces

namespace  forward_decl_audit
 

Functions

 forward_decl_audit.count_mentions (path, name)
 
 forward_decl_audit.layer_of (relpath)
 
 forward_decl_audit.walk_sources ()
 
 forward_decl_audit.main ()
 

Variables

 forward_decl_audit.REPO = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 
 forward_decl_audit.SRC = os.path.join(REPO, "src")
 
 forward_decl_audit._ig_spec
 
 forward_decl_audit._ig = importlib.util.module_from_spec(_ig_spec)
 
 forward_decl_audit.LAYERS = _ig.LAYERS
 
 forward_decl_audit.LAYER = _ig.LAYER
 
 forward_decl_audit.FWD = re.compile(r'^\s*(?:struct|union|enum)\s+([A-Za-z_]\w*)\s*;\s*$')
 
 forward_decl_audit.DEF_CLOSE = re.compile(r'^\s*\}\s*([A-Za-z_]\w*)\s*;')
 
 forward_decl_audit.DEF_OPEN = re.compile(r'^\s*(?:typedef\s+)?(?:struct|union|enum)\s+([A-Za-z_]\w*)\s*\{')
 
 forward_decl_audit.COMMENT_BLOCK = re.compile(r'/\*.*?\*/', re.S)
 
 forward_decl_audit.COMMENT_LINE = re.compile(r'//[^\n]*')