3 ms·
> .h and .c separation is important for shared libraries No it isn't. That's a completely orthogonal issue. The compiler is perfectly capable of generating the
by xenadu02 11y ago
> .h and .c separation is important for shared libraries
No it isn't. That's a completely orthogonal issue. The compiler is perfectly capable of generating the equivalent of a public header if the implementation has a way to specify visibility.
- nly 11y agoIt's a bit more than that. You'd have to compile a lot of fluff in to the ELF. We'd be talking something closer to Windows COM, which allows extracting IDL from a type library.