Regenerate singleheader

This commit is contained in:
John Keiser 2020-04-23 15:37:08 -07:00
parent 66acab4130
commit 32bc0da362
4 changed files with 19 additions and 4 deletions

0
singleheader/README.md Executable file → Normal file
View File

View File

@ -1,4 +1,4 @@
/* auto-generated on Thu Apr 23 09:19:14 PDT 2020. Do not edit! */
/* auto-generated on Thu Apr 23 15:36:58 PDT 2020. Do not edit! */
#include <iostream>
#include "simdjson.h"

View File

@ -1,4 +1,4 @@
/* auto-generated on Thu Apr 23 09:19:14 PDT 2020. Do not edit! */
/* auto-generated on Thu Apr 23 15:36:58 PDT 2020. Do not edit! */
#include "simdjson.h"
/* used for http://dmalloc.com/ Dmalloc - Debug Malloc Library */
@ -502,7 +502,7 @@ const detect_best_supported_implementation_on_first_use detect_best_supported_im
internal::atomic_ptr<const implementation> active_implementation{&internal::detect_best_supported_implementation_on_first_use_singleton};
constexpr const std::initializer_list<const implementation *> available_implementation_pointers {
const std::initializer_list<const implementation *> available_implementation_pointers {
#if SIMDJSON_IMPLEMENTATION_HASWELL
&haswell_singleton,
#endif

View File

@ -1,4 +1,4 @@
/* auto-generated on Thu Apr 23 09:19:14 PDT 2020. Do not edit! */
/* auto-generated on Thu Apr 23 15:36:58 PDT 2020. Do not edit! */
/* begin file simdjson.h */
#ifndef SIMDJSON_H
#define SIMDJSON_H
@ -103,6 +103,20 @@ enum {
#define IS_ARM64 1
#endif
#if (!defined(IS_X86_64)) && (!defined(IS_ARM64))
#if _MSC_VER
#pragma message("The simdjson library is designed\
for 64-bit processors and it seems that you are not\
compiling for a known 64-bit platform. All fast kernels\
will be disabled and performance may be poor. Please\
use a 64-bt target such as x64 or 64-bit ARM.")
#else
#error "The simdjson library is designed\
for 64-bit processors. It seems that you are not\
compiling for a known 64-bit platform."
#endif
#endif // (!defined(IS_X86_64)) && (!defined(IS_ARM64))
// this is almost standard?
#undef STRINGIFY_IMPLEMENTATION_
#undef STRINGIFY
@ -344,6 +358,7 @@ constexpr size_t DEFAULT_MAX_DEPTH = 1024;
#define SIMDJSON_PUSH_DISABLE_WARNINGS _Pragma("GCC diagnostic push")
// gcc doesn't seem to disable all warnings with all and extra, add warnings here as necessary
#define SIMDJSON_PUSH_DISABLE_ALL_WARNINGS SIMDJSON_PUSH_DISABLE_WARNINGS \
SIMDJSON_DISABLE_GCC_WARNING(-Weffc++) \
SIMDJSON_DISABLE_GCC_WARNING(-Wall) \
SIMDJSON_DISABLE_GCC_WARNING(-Wconversion) \
SIMDJSON_DISABLE_GCC_WARNING(-Wextra) \