[fpc-pascal]Interface-only units (was: shared libraries interface)

Jonas Maebe jonas at zeus.rug.ac.be
Fri Aug 2 19:38:23 CEST 2002


On Fri, 2 Aug 2002, Full_Name wrote:

> Unless there is some way of verifying that the interface in untampered with (a
> third file? a checksum?) and the compiler either will not compile the source or
> at the very least issue a compiler warning, I'll not be using the feature
> personally. There are some many better ways of doing this I think (another
> idea, ADA uses 'specification/header' and 'body' to split the code.) Moving

ADA always uses two files: one for the interface, one for the
implementation. I doubt you can recompile the interface without
recompiling the implementation as well.


Jonas





More information about the fpc-pascal mailing list