mesa: put extern "C" in src/mesa/program/*h header files
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
@@ -32,6 +32,12 @@
|
||||
|
||||
#include "main/glheader.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
struct gl_context;
|
||||
|
||||
/** Opaque type */
|
||||
@@ -65,4 +71,9 @@ _mesa_shader_cache_insert(struct gl_context *ctx,
|
||||
struct gl_shader_program *program);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* PROG_CACHE_H */
|
||||
|
||||
@@ -29,6 +29,11 @@
|
||||
#include "main/glheader.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
struct gl_context;
|
||||
struct gl_program;
|
||||
struct prog_instruction;
|
||||
@@ -46,4 +51,10 @@ _mesa_optimize_program(struct gl_context *ctx, struct gl_program *program);
|
||||
extern GLboolean
|
||||
_mesa_constant_fold(struct gl_program *prog);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -31,6 +31,12 @@
|
||||
#include "main/glheader.h"
|
||||
#include "main/mtypes.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
struct gl_program;
|
||||
struct gl_program_parameter_list;
|
||||
struct gl_shader;
|
||||
@@ -115,4 +121,9 @@ extern void
|
||||
_mesa_append_uniforms_to_file(const struct gl_shader *shader);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* PROG_PRINT_H */
|
||||
|
||||
@@ -28,6 +28,12 @@
|
||||
|
||||
#include "main/mtypes.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
extern void
|
||||
_mesa_insert_mvp_code(struct gl_context *ctx, struct gl_vertex_program *vprog);
|
||||
|
||||
@@ -52,4 +58,8 @@ extern void
|
||||
_mesa_nop_vertex_program(struct gl_context *ctx, struct gl_vertex_program *prog);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* PROGRAMOPT_H */
|
||||
|
||||
Reference in New Issue
Block a user