(mod, metadata, f, internal_h_file)
| 2417 | """), file=f) |
| 2418 | |
| 2419 | def write_source(mod, metadata, f, internal_h_file): |
| 2420 | generate_module_def(mod, metadata, f, internal_h_file) |
| 2421 | |
| 2422 | v = ChainOfVisitors( |
| 2423 | SequenceConstructorVisitor(f), |
| 2424 | PyTypesDeclareVisitor(f), |
| 2425 | AnnotationsVisitor(f), |
| 2426 | PyTypesVisitor(f), |
| 2427 | Obj2ModPrototypeVisitor(f), |
| 2428 | FunctionVisitor(f), |
| 2429 | ObjVisitor(f), |
| 2430 | Obj2ModVisitor(f), |
| 2431 | ASTModuleVisitor(f), |
| 2432 | PartingShots(f), |
| 2433 | metadata=metadata |
| 2434 | ) |
| 2435 | v.visit(mod) |
| 2436 | |
| 2437 | def main(input_filename, c_filename, h_filename, internal_h_filename, dump_module=False): |
| 2438 | auto_gen_msg = AUTOGEN_MESSAGE.format("/".join(Path(__file__).parts[-2:])) |
no test coverage detected
searching dependent graphs…