WS_DLL_PUBLIC is required on most UN*X platforms now, as well.

On UN*X platforms, we now build the Wireshark shared libraries with
compiler and linker options that arrange that most symbols are "hidden",
and only those declared with WS_DLL_PUBLIC are exported from the
libraries, if such options are available.

Change-Id: Ie954f114046fe4af678672b12cea693ac9882ba1
Reviewed-on: https://code.wireshark.org/review/36726
Reviewed-by: Guy Harris <gharris@sonic.net>
This commit is contained in:
Guy Harris 2020-04-06 10:52:22 -07:00 committed by Guy Harris
parent 2acbaf5849
commit d30a0a2ce7
1 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,9 @@ displayed.
Dissectors can either be built-in to Wireshark or written as a self-registering
plugin (a shared library or DLL).
There is little difference in having your dissector as either a plugin or
built-in. On the Windows platform you have limited function access through the
ABI exposed by functions declared as WS_DLL_PUBLIC.
There is little difference in having your dissector as either a plugin
or built-in. You have limited function access through the ABI exposed
by functions declared as WS_DLL_PUBLIC.
The big benefit of writing a dissector as a plugin is that rebuilding
a plugin is much faster than rebuilding wireshark after editing a built-in