diff options
Diffstat (limited to 'include/epoxy/glx.h')
| -rw-r--r-- | include/epoxy/glx.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/epoxy/glx.h b/include/epoxy/glx.h index 8df33b8..dac327e 100644 --- a/include/epoxy/glx.h +++ b/include/epoxy/glx.h @@ -30,10 +30,6 @@ #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> @@ -49,11 +45,11 @@ extern "C" { #include "epoxy/glx_generated.h" +EPOXY_BEGIN_DECLS + bool epoxy_has_glx_extension(Display *dpy, int screen, const char *extension); int epoxy_glx_version(Display *dpy, int screen); -#ifdef __cplusplus -} /* extern "C" */ -#endif +EPOXY_END_DECLS #endif /* EPOXY_GLX_H */ |
