Used by C++ code such as Haiku's renderer.
Reviewed-by: Brian Paul <brianp@vmware.com>
struct pipe_screen;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct pipe_screen *
ddebug_screen_create(struct pipe_screen *screen);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* DD_PUBLIC_H_ */
#ifndef NOOP_PUBLIC_H
#define NOOP_PUBLIC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct pipe_screen;
struct pipe_screen *noop_screen_create(struct pipe_screen *screen);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#include "driver_rbug/rbug_public.h"
#include "driver_noop/noop_public.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* TODO: Audit the following *screen_create() - all of
* them should return the original screen on failuire.
}
#endif
+
+#ifdef __cplusplus
+}
+#endif