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:
Dave Airlie 2024-06-24 13:38:32 +10:00
parent 63d2bb103a
commit 1f4268b53e

View file

@ -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