Andreas wrote:
Am 11.02.2011 00:06, schrieb Guy Harris:
> They weren't omitted on purpose. They were probably omitted because
> they were added by a UN*X user; by default, UN*X dynamic shared
> libraries export every non-static symbol, unlike Windows DLLs.
I think this is a strong argument to move away from the export
definition in DEF file to a decoration in the header file. With the
prefix like i.e. WIRESHARK_API(1) you can decorate any function that is
intended to be public available.
I wonder if there's a way to do this by looking at whether the function
is declared static or not.
Ed