mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
gallivm: make lp_bld_coro.h c++ include safe.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29869>
This commit is contained in:
parent
63d2bb103a
commit
1f4268b53e
1 changed files with 8 additions and 0 deletions
|
|
@ -31,6 +31,10 @@
|
|||
#include "gallivm/lp_bld.h"
|
||||
#include "gallivm/lp_bld_intr.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct gallivm_state;
|
||||
LLVMValueRef lp_build_coro_id(struct gallivm_state *gallivm);
|
||||
|
||||
|
|
@ -84,4 +88,8 @@ static inline void lp_build_coro_add_presplit(LLVMValueRef coro)
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue