Module: Mesa Branch: main Commit: 0df249f542c460e3044c1bc871bc5897fe65d469 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0df249f542c460e3044c1bc871bc5897fe65d469
Author: Mike Blumenkrantz <[email protected]> Date: Tue May 11 14:47:29 2021 -0400 util/primconvert: add C++ guards to header Reviewed-by: Jesse Natalie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10868> --- src/gallium/auxiliary/indices/u_primconvert.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gallium/auxiliary/indices/u_primconvert.h b/src/gallium/auxiliary/indices/u_primconvert.h index 22933891911..080c68a74e7 100644 --- a/src/gallium/auxiliary/indices/u_primconvert.h +++ b/src/gallium/auxiliary/indices/u_primconvert.h @@ -29,6 +29,10 @@ #include "pipe/p_state.h" +#ifdef __cplusplus +extern "C" { +#endif + struct primconvert_context; struct primconvert_config { @@ -52,4 +56,8 @@ void util_primconvert_draw_vbo(struct primconvert_context *pc, const struct pipe_draw_start_count_bias *draws, unsigned num_draws); +#ifdef __cplusplus +} +#endif + #endif /* U_PRIMCONVERT_H_ */ _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
