u_threaded_context: Support including from C++

Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed By: Bill Kristiansen <billkris@microsoft.com>

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13670>
This commit is contained in:
Jesse Natalie 2021-11-03 10:22:56 -07:00 committed by Marge Bot
parent 38f0b36f1a
commit 00016b4251
1 changed files with 8 additions and 0 deletions

View File

@ -202,6 +202,10 @@
#include "util/u_thread.h"
#include "util/slab.h"
#ifdef __cplusplus
extern "C" {
#endif
struct threaded_context;
struct tc_unflushed_batch_token;
@ -608,4 +612,8 @@ tc_buffer_disable_cpu_storage(struct pipe_resource *buf)
}
}
#ifdef __cplusplus
}
#endif
#endif