mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
gallium: Add extern "C" to the headers.
This commit is contained in:
parent
333976c90a
commit
53cf833af9
2 changed files with 18 additions and 0 deletions
|
|
@ -30,7 +30,11 @@
|
|||
#define U_BLIT_H
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
struct pipe_context;
|
||||
struct pipe_surface;
|
||||
struct cso_context;
|
||||
|
|
@ -58,4 +62,8 @@ util_blit_pixels(struct blit_state *ctx,
|
|||
float z, uint filter);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -31,6 +31,11 @@
|
|||
#include "pipe/p_state.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
struct pipe_context;
|
||||
struct pipe_texture;
|
||||
struct cso_context;
|
||||
|
|
@ -52,4 +57,9 @@ util_gen_mipmap(struct gen_mipmap_state *ctx,
|
|||
struct pipe_texture *pt,
|
||||
uint face, uint baseLevel, uint lastLevel, uint filter);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue