[fpc-pascal] Merging units
Ryan Joseph
genericptr at gmail.com
Wed Oct 7 00:25:17 CEST 2020
> On Oct 6, 2020, at 2:52 PM, Zamrony P. Juhara via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> I use a secondary unit as alias of all separate units as Marco suggests in
>
> https://github.com/fanoframework/fano/blob/master/src/fano.pas
>
> However I am curious if merging units like this has drawback. AFAIK smart linking works.
Got around to trying this and the namespace aliases are nice. Thanks.
What about functions though? This will require lots of inline wrappers. Having a function alias would be a really nice feature but I think Sven actually rejected this idea some while ago when I asked.
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list