Frank Heckenbach wrote:
In short, a unit consists of an interface and an implementation part. The interface can contain declarations (const, type, var) and routine headers. The implementation contains normal declaration and routines with bodies, including those that were declared in the interface (but may have some private routines). When a program or another unit does `uses Foo', it gets access to the declarations in the interface of the unit.
So indeed, such a library should be a unit -- or perferably, several units for the different C libraries.
Ok, I will spend some time making units of the wrappers, and I will upload the results to the GPC homepage.
greetz, Kasper