cextract is ideal for generating header files for large multi-file C programs, and will provide an automated method for generating all of the prototypes for all of the functions in such a program. cextract also functions as a rudimentary documentation extractor, generating a sorted list of all functions and their locations.
cextract is ideal for generating header files for large multi-file C programs, and will provide an automated method for generating all of the prototypes for all of the functions in such a program. cextract also functions as a rudimentary documentation extractor, generating a sorted list of all functions and their locations.
To install cextract, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install cextract
To see what files were installed by cextract, run:
port contents cextract
To later upgrade cextract, run:
sudo port selfupdate && sudo port upgrade cextract
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.