Remove "C" linkages (#781)

* Remove extern C linkages

* Update crc32 to cpp and remove extern C linkage
This commit is contained in:
Ankit Goyal
2020-05-20 18:46:19 +05:30
committed by GitHub
parent 223c43b7d9
commit 4fbcd96e7f
74 changed files with 140 additions and 440 deletions

View File

@@ -48,8 +48,8 @@ static const char *smoothstep4_kernel_code =
#define MAX_ERR (1e-5f)
extern "C" float
verify_smoothstep(float *edge0, float *edge1, float *x, float *outptr, int n, int veclen)
float verify_smoothstep(float *edge0, float *edge1, float *x, float *outptr,
int n, int veclen)
{
float r, t, delta, max_err = 0.0f;
int i, j;