Hairy Pixels via fpc-pascal wrote:
I see this pattern in C translated header often but I’ve honestly never understood it entirely.Why does this “cDllName" need to be added to every single function which you could just use {$linklib xxxx}?
This is a habit from the WIndows and Delphi world. In a one-levell namespace on MacOS, the dll name is superflouous. Note that ObjC symbols are always global ,which implies a one-level namespace.
Regards, Adriaan van Os _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
