diff options
author | Yaron Cohen-Tal <yaronct@gmail.com> | 2015-07-19 12:59:31 +0300 |
---|---|---|
committer | Yaron Cohen-Tal <yaronct@gmail.com> | 2015-07-19 13:40:35 +0300 |
commit | 90c6158d61a4b27f00997049d67344b425275c5c (patch) | |
tree | 65366dd2d858c408b4087cca9470f1551d671240 /include/epoxy/glx.h | |
parent | 773dd02f596b3f256bb1c0f65ac091db93a9518b (diff) | |
download | libepoxy-90c6158d61a4b27f00997049d67344b425275c5c.tar.gz |
Unite defenitions "PUBLIC" and "EPOXY_IMPORTEXPORT" and add it where appropriate. Fix tests build errors.
Diffstat (limited to 'include/epoxy/glx.h')
-rw-r--r-- | include/epoxy/glx.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/epoxy/glx.h b/include/epoxy/glx.h index 36fc617..5efe931 100644 --- a/include/epoxy/glx.h +++ b/include/epoxy/glx.h @@ -30,15 +30,15 @@ #ifndef EPOXY_GLX_H #define EPOXY_GLX_H -#ifdef __cplusplus -extern "C" { -#endif - #include <epoxy/gl.h> #include <X11/Xlib.h> #include <X11/Xutil.h> #include <stdbool.h> +#ifdef __cplusplus +extern "C" { +#endif + #if defined(GLX_H) || defined(__glxext_h_) #error epoxy/glx.h must be included before (or in place of) GL/glx.h #else @@ -48,8 +48,8 @@ extern "C" { #include "epoxy/glx_generated.h" -bool epoxy_has_glx_extension(Display *dpy, int screen, const char *extension); -int epoxy_glx_version(Display *dpy, int screen); +EPOXY_IMPORTEXPORT bool epoxy_has_glx_extension(Display *dpy, int screen, const char *extension); +EPOXY_IMPORTEXPORT int epoxy_glx_version(Display *dpy, int screen); #ifdef __cplusplus } /* extern "C" */ |