projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df1d5fc
)
util/u_queue: make u_queue accessible to cpp
author
Timothy Arceri
<tarceri@itsqueeze.com>
Fri, 10 Mar 2017 02:28:53 +0000
(13:28 +1100)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Sun, 12 Mar 2017 22:50:26 +0000
(09:50 +1100)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/util/u_queue.h
patch
|
blob
|
history
diff --git
a/src/util/u_queue.h
b/src/util/u_queue.h
index 0073890cf3c1f03aa4e45a6fb722aca27d4a7d1d..4aec1f2047114409b1495fa0bb44bc5844553b77 100644
(file)
--- 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