gstconfig.h: add GST_API_IMPORT define
authorTim-Philipp Müller <tim@centricular.com>
Sat, 25 Aug 2018 20:53:07 +0000 (22:53 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 23 Sep 2018 22:23:01 +0000 (23:23 +0100)
commit50038bed79e056eee109572db03113999cc7eb38
treeddfa6561143f71a4982f54cd02293cf3a34ce6c1
parent54e498f2d57ceeed7a68e274e5c3786b4afdc9c0
gstconfig.h: add GST_API_IMPORT define

This is for use by the various GST_*_API decorators and
will be what they get defined to when a library API is being
used by external users of that library (not the library itself
whilst it's being compiled).

In most cases it will simply map to a plain 'extern' but on
Windows with MSVC it will need to map to __declspec(dllimport).
For functions this is not strictly needed, but for exported
variables it is.

https://bugzilla.gnome.org/show_bug.cgi?id=797185
gst/gstconfig.h.in