vendor/libsodium/src/libsodium/include/sodium/runtime.h in rbnacl-libsodium-1.0.13 vs vendor/libsodium/src/libsodium/include/sodium/runtime.h in rbnacl-libsodium-1.0.15
- old
+ new
@@ -6,34 +6,37 @@
#ifdef __cplusplus
extern "C" {
#endif
-SODIUM_EXPORT
+SODIUM_EXPORT_WEAK
int sodium_runtime_has_neon(void);
-SODIUM_EXPORT
+SODIUM_EXPORT_WEAK
int sodium_runtime_has_sse2(void);
-SODIUM_EXPORT
+SODIUM_EXPORT_WEAK
int sodium_runtime_has_sse3(void);
-SODIUM_EXPORT
+SODIUM_EXPORT_WEAK
int sodium_runtime_has_ssse3(void);
-SODIUM_EXPORT
+SODIUM_EXPORT_WEAK
int sodium_runtime_has_sse41(void);
-SODIUM_EXPORT
+SODIUM_EXPORT_WEAK
int sodium_runtime_has_avx(void);
-SODIUM_EXPORT
+SODIUM_EXPORT_WEAK
int sodium_runtime_has_avx2(void);
-SODIUM_EXPORT
+SODIUM_EXPORT_WEAK
+int sodium_runtime_has_avx512f(void);
+
+SODIUM_EXPORT_WEAK
int sodium_runtime_has_pclmul(void);
-SODIUM_EXPORT
+SODIUM_EXPORT_WEAK
int sodium_runtime_has_aesni(void);
/* ------------------------------------------------------------------------- */
int _sodium_runtime_get_cpu_features(void);