diff --git a/include/epoxy/egl.h b/include/epoxy/egl.h index d5083da..b5f8ee0 100644 --- a/include/epoxy/egl.h +++ b/include/epoxy/egl.h @@ -41,10 +41,10 @@ #define __eglext_h_ #endif -#include "epoxy/egl_generated.h" - EPOXY_BEGIN_DECLS +#include "epoxy/egl_generated.h" + EPOXY_PUBLIC bool epoxy_has_egl_extension(EGLDisplay dpy, const char *extension); EPOXY_PUBLIC int epoxy_egl_version(EGLDisplay dpy); EPOXY_PUBLIC bool epoxy_has_egl(void); diff --git a/include/epoxy/gl.h b/include/epoxy/gl.h index 078ecee..88b9a15 100644 --- a/include/epoxy/gl.h +++ b/include/epoxy/gl.h @@ -84,10 +84,10 @@ #define GLAPIENTRYP GLAPIENTRY * #endif -#include "epoxy/gl_generated.h" - EPOXY_BEGIN_DECLS +#include "epoxy/gl_generated.h" + EPOXY_PUBLIC bool epoxy_has_gl_extension(const char *extension); EPOXY_PUBLIC bool epoxy_is_desktop_gl(void); EPOXY_PUBLIC int epoxy_gl_version(void); diff --git a/include/epoxy/glx.h b/include/epoxy/glx.h index a06b13d..8517063 100644 --- a/include/epoxy/glx.h +++ b/include/epoxy/glx.h @@ -44,10 +44,10 @@ #define __glxext_h_ #endif -#include "epoxy/glx_generated.h" - EPOXY_BEGIN_DECLS +#include "epoxy/glx_generated.h" + EPOXY_PUBLIC bool epoxy_has_glx_extension(Display *dpy, int screen, const char *extension); EPOXY_PUBLIC int epoxy_glx_version(Display *dpy, int screen); EPOXY_PUBLIC bool epoxy_has_glx(Display *dpy); diff --git a/include/epoxy/wgl.h b/include/epoxy/wgl.h index 503f899..7c85dec 100644 --- a/include/epoxy/wgl.h +++ b/include/epoxy/wgl.h @@ -49,10 +49,10 @@ #define wglUseFontBitmaps wglUseFontBitmapsA #endif -#include "epoxy/wgl_generated.h" - EPOXY_BEGIN_DECLS +#include "epoxy/wgl_generated.h" + EPOXY_PUBLIC bool epoxy_has_wgl_extension(HDC hdc, const char *extension); EPOXY_PUBLIC void epoxy_handle_external_wglMakeCurrent(void);