mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-11 03:16:48 +02:00
dsp/cpu.h: add missing extern "C"
fixes linking of tests/fuzzer/animencoder_fuzzer on windows Change-Id: I0bd14b0e8c7ecb261e861689c25cd4b7fdaecbfd
This commit is contained in:
parent
62b45bddcd
commit
56a480e80c
@ -238,8 +238,17 @@ typedef enum {
|
|||||||
kMIPSdspR2,
|
kMIPSdspR2,
|
||||||
kMSA
|
kMSA
|
||||||
} CPUFeature;
|
} CPUFeature;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
// returns true if the CPU supports the feature.
|
// returns true if the CPU supports the feature.
|
||||||
typedef int (*VP8CPUInfo)(CPUFeature feature);
|
typedef int (*VP8CPUInfo)(CPUFeature feature);
|
||||||
WEBP_EXTERN VP8CPUInfo VP8GetCPUInfo;
|
WEBP_EXTERN VP8CPUInfo VP8GetCPUInfo;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} // extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // WEBP_DSP_CPU_H_
|
#endif // WEBP_DSP_CPU_H_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user