gallium: insert __cplusplus/extern wrappings
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user