Prof A Olowofoyeku (The African Chief) wrote:
BTW: Delphi has a facility for aliasing units: "-A<unit>=<alias>". I think we discussed this quite a while ago. Does gpc now have this feature,
No, but two (partial) alternatives:
- Modules with `all' extension (if use is foreseen at module writing time). This exports two equivalent interfaces:
module Foo;
export Foo = all; Bar = all;
end;
end.
- Uses propagation (make a unit `Bar' which export everything it imports):
{$propagate-units}
unit Bar;
interface
uses Foo;
implementation
end.
Frank