simdjson  3.11.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 #elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(lsx)
24 #include "simdjson/lsx/ondemand.h"
25 #elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(lasx)
26 #include "simdjson/lasx/ondemand.h"
27 #else
28 #error Unknown SIMDJSON_BUILTIN_IMPLEMENTATION
29 #endif
30 
31 #undef SIMDJSON_CONDITIONAL_INCLUDE
32 
33 namespace simdjson {
37  namespace ondemand = SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand;
38 } // namespace simdjson
39 
40 #endif // SIMDJSON_BUILTIN_ONDEMAND_H
The top level simdjson namespace, containing everything the library provides.
Definition: base.h:8