From 13d69a85197f6bd57a12e1f9c5ccb6ae0b5431ce Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Fri, 10 Mar 2017 13:28:53 +1100 Subject: util/u_queue: make u_queue accessible to cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/util/u_queue.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/util') diff --git a/src/util/u_queue.h b/src/util/u_queue.h index 0073890cf3c..4aec1f20471 100644 --- a/src/util/u_queue.h +++ b/src/util/u_queue.h @@ -38,6 +38,10 @@ #include "util/list.h" #include "util/u_thread.h" +#ifdef __cplusplus +extern "C" { +#endif + /* Job completion fence. * Put this into your job structure. */ @@ -106,4 +110,8 @@ util_queue_fence_is_signalled(struct util_queue_fence *fence) return fence->signalled != 0; } +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3