diff options
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h index 5dc9267b8d2..0ea0e8846be 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.h +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h @@ -33,6 +33,10 @@ #include "pipe/p_state.h" #include "pipe/p_shader_tokens.h" +#ifdef __cplusplus +extern "C" { +#endif + /** * Shader summary info */ @@ -114,5 +118,8 @@ tgsi_scan_shader(const struct tgsi_token *tokens, extern boolean tgsi_is_passthrough_shader(const struct tgsi_token *tokens); +#ifdef __cplusplus +} // extern "C" +#endif #endif /* TGSI_SCAN_H */ |