Lines Matching full:macros
34 * an optional macros object
37 Formatting of ``macros`` and ``functions`` objects
40 If a macros or functions object is present, then it may contain nested
62 # Validate macros
63 if "macros" in api:
66 f"warning: Macro definitions are listed for {header.name}, but no macro file can be found in the directory tree rooted at {header.macros_dir}. All macros will be listed as not implemented.",
70 macros = api["macros"]
72 for name, obj in macros.items():
147 def print_macros_rst(header: Header, macros: Dict):
148 tbl_hdr = "Macros"
154 for name in sorted(macros.keys()):
162 if "c-definition" in macros[name]:
163 print(f' - {macros[name]["c-definition"]}')
167 if "in-latest-posix" in macros[name]:
188 if "macros" in api:
189 print_macros_rst(header, api["macros"])