gallium: Add extern "C" to the headers.

This commit is contained in:
José Fonseca 2008-04-24 00:10:51 +09:00
parent 333976c90a
commit 53cf833af9
2 changed files with 18 additions and 0 deletions

View File

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

View File

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