* Kristian Høgsberg (krh@redhat.com)
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct dri2_screen {
struct glx_screen base;
dri2_interop_export_object(struct glx_context *ctx,
const mesa_glinterop_export_in *in,
mesa_glinterop_export_out *out);
+
+#ifdef __cplusplus
+}
+#endif
#include <X11/Xlib.h>
#include <xcb/xcb.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void __glXSendError(Display * dpy, int_fast8_t errorCode,
uint_fast32_t resourceID, uint_fast16_t minorCode,
bool coreX11error);
_X_HIDDEN void __glXSendErrorForXcb(Display * dpy,
const xcb_generic_error_t *err);
+
+#ifdef __cplusplus
+}
+#endif
#include "glxextensions.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
#define GLX_MAJOR_VERSION 1 /* current version numbers */
#define GLX_MINOR_VERSION 4
const uint32_t *attribs,
unsigned *error);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* !__GLX_client_h__ */
#ifndef GLX_GLXEXTENSIONS_H
#define GLX_GLXEXTENSIONS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum
{
ARB_create_context_bit = 0,
# endif /* __GNUC__ */
#endif /* GLX_NO_STATIC_EXTENSION_FUNCTIONS */
+#ifdef __cplusplus
+}
+#endif
+
#endif /* GLX_GLXEXTENSIONS_H */
#include <gtest/gtest.h>
#include <string.h>
-extern "C" {
#include "glxclient.h"
-}
#include <xcb/glx.h>
#include <gtest/gtest.h>
#include <string.h>
-extern "C" {
#include "glxclient.h"
#include "glx_error.h"
-}
#include <xcb/glx.h>
#include "mock_xdisplay.h"
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-extern "C" {
#include "glxclient.h"
-};
class fake_glx_screen : public glx_screen {
public:
#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
-extern "C" {
#include "glxclient.h"
#include "glx_error.h"
#include "dri2.h"
#include "dri_interface.h"
#include "dri2_priv.h"
-}
struct attribute_test_vector {
const char *glx_string;
#include <signal.h>
#include <setjmp.h>
-extern "C" {
#include "glxclient.h"
#include "glx_error.h"
-}
extern bool GetGLXScreenConfigs_called;
extern struct glx_screen *psc;