preprocess c code to generate headers #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
explicitly import libraries, move those include directives to an associated header on a per unit basis (e.g.
file.c==>file.h)either
nmor parse the code to find external symbols and compare that to the mentioned headers to mention those, either as prototypes under the include directive (or a matching comment if forced to include all at the top) or as comments for the existence of macros when they may not be redeclared because their declaration is not idempotentexport keyword in units to insert prototype into corresponding header ?
or just rely on functions being explicitly static when not meant to be exported, and assume the absence of the static keyword to mean that it should be
i'd like to avoid deviating from vanilla c as much as possible