simdjson  3.3.0
Ridiculously Fast JSON
ondemand.h
1 #ifndef SIMDJSON_BUILTIN_ONDEMAND_H
2 #define SIMDJSON_BUILTIN_ONDEMAND_H
3 
4 #include "simdjson/builtin.h"
5 #include "simdjson/builtin/base.h"
6 
7 #include "simdjson/generic/ondemand/dependencies.h"
8 
9 #define SIMDJSON_CONDITIONAL_INCLUDE
10 
11 #if SIMDJSON_BUILTIN_IMPLEMENTATION_IS(arm64)
12 #include "simdjson/arm64/ondemand.h"
13 #elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(fallback)
14 #include "simdjson/fallback/ondemand.h"
15 #elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(haswell)
16 #include "simdjson/haswell/ondemand.h"
17 #elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(icelake)
18 #include "simdjson/icelake/ondemand.h"
19 #elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(ppc64)
20 #include "simdjson/ppc64/ondemand.h"
21 #elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(westmere)
22 #include "simdjson/westmere/ondemand.h"
23 #else
24 #error Unknown SIMDJSON_BUILTIN_IMPLEMENTATION
25 #endif
26 
27 #undef SIMDJSON_CONDITIONAL_INCLUDE
28 
29 namespace simdjson {
33  namespace ondemand = SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand;
34 } // namespace simdjson
35 
36 #endif // SIMDJSON_BUILTIN_ONDEMAND_H
The top level simdjson namespace, containing everything the library provides.
Definition: base.h:8