gallium: insert __cplusplus/extern wrappings

This commit is contained in:
Brian Paul 2008-08-22 15:53:28 -06:00
parent a22bdd42d7
commit f9c04d55d0

View file

@ -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 */