diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-02-25 20:05:41 +0900 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-02-25 20:05:41 +0900 |
commit | e4e30089231831339815cccebf3a3a0ea6dcd2a9 (patch) | |
tree | 66a4b0da649d0814312b6464a129ec895ae012f1 /src/gallium/include/pipe/p_format.h | |
parent | c8b069cc1e839b5dd7a11d33c291b6b587a45df3 (diff) |
Make the pipe headers C++ friendly.
Diffstat (limited to 'src/gallium/include/pipe/p_format.h')
-rw-r--r-- | src/gallium/include/pipe/p_format.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h index c9ad324315..561d2e5921 100644 --- a/src/gallium/include/pipe/p_format.h +++ b/src/gallium/include/pipe/p_format.h @@ -33,6 +33,10 @@ #include "p_compiler.h" #include "p_debug.h" +#ifdef __cplusplus +extern "C" { +#endif + /** * The PIPE_FORMAT is a 32-bit wide bitfield that encodes all the information * needed to uniquely describe a pixel format. @@ -418,4 +422,8 @@ static INLINE uint pf_get_size( enum pipe_format format ) { return pf_get_bits(format) / 8; } +#ifdef __cplusplus +} +#endif + #endif |