In most situations, auto-generating the equivalent of .h files for a library based on export statements in the source code would be fine and a useful simplification.