#! /usr/bin/python3 # Last edited on 2024-11-09 07:37:41 by stolfi # Reads a ".h" or ".c" file "{inDir}/{fName}.h" or "{inDir}/{fName}.c". Extracts function prototypes and function implementations, which are written to # separate files "{outDir}/{funcName}.h" or "{outDir}/{funcName}.c", respectively. # Also creates a file with all top-level comments, type and macro definitions. "{outDir}/{fName}.h" if the input "{outDir}/{fName}_defs.h" {include}s for all prototypes # import sys import argparser def main(): pp = ArgParser(sys.argv, sys.stderr, "help hourself", "be informed")