Make shader_api.h be C++ friendly

This commit is contained in:
Ian Romanick 2010-07-07 11:03:21 -07:00
parent c67016de96
commit ffd7bb031e

View file

@ -32,6 +32,9 @@
#include "main/mtypes.h"
#include "ir_to_mesa.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* Internal functions
*/
@ -109,5 +112,8 @@ _mesa_validate_shader_program(GLcontext *ctx,
extern void
_mesa_init_glsl_driver_functions(struct dd_function_table *driver);
#ifdef __cplusplus
};
#endif
#endif /* SHADER_API_H */