Malcolm McLean
2017-06-02 14:59:33 UTC
Traditionally a C header file is a relatively short interface specification giving structures
and prototypes. However increasingly I'm seeing substantial functions implemented as
a header file, with most of the functions marked as "static". Then there's usually a define
the includer can provide to create a single function in global space.
Has anyone else any views on this? Is it the way to distribute C source?
and prototypes. However increasingly I'm seeing substantial functions implemented as
a header file, with most of the functions marked as "static". Then there's usually a define
the includer can provide to create a single function in global space.
Has anyone else any views on this? Is it the way to distribute C source?