From: Brian Paul Date: Fri, 22 Aug 2008 21:53:28 +0000 (-0600) Subject: gallium: insert __cplusplus/extern wrappings X-Git-Tag: 062012170305~17580^2~390^2~502 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f9c04d55d045b3cf3ffef24f805166e3995096e2;p=profile%2Fivi%2Fmesa.git gallium: insert __cplusplus/extern wrappings --- diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h index 09c55e4..a541d30 100644 --- a/src/gallium/auxiliary/util/u_math.h +++ b/src/gallium/auxiliary/util/u_math.h @@ -44,12 +44,17 @@ #include "util/u_math.h" +#ifdef __cplusplus +extern "C" { +#endif + #define POW2_TABLE_SIZE 256 #define POW2_TABLE_SCALE ((float) (POW2_TABLE_SIZE-1)) extern float pow2_table[POW2_TABLE_SIZE]; + extern void util_init_math(void); @@ -190,4 +195,8 @@ util_iround(float f) +#ifdef __cplusplus +} +#endif + #endif /* U_MATH_H */