Mark visibility of public API and private functions.
Add macros JAYLINK_API and JAYLINK_PRIV to mark public API and
private symbols.
JAYLINK_API is used to mark symbols which should be part of the
public API whereas JAYLINK_PRIV is used to mark symbols which should
be accessible among internal files but not be part of the public API.
To prevent symbol leakage all non-static symbols are treated as
marked with JAYLINK_PRIV unless explicitly marked with JAYLINK_API.
JAYLINK_API and JAYLINK_PRIV use the visibility feature of gcc which
requires version 4.0 or greater.
See: http://gcc.gnu.org/wiki/Visibility
17 files changed: