1 #ifndef SIMDJSON_BUILTIN_ONDEMAND_H
2 #define SIMDJSON_BUILTIN_ONDEMAND_H
4 #include "simdjson/builtin.h"
5 #include "simdjson/builtin/base.h"
7 #include "simdjson/generic/ondemand/dependencies.h"
9 #define SIMDJSON_CONDITIONAL_INCLUDE
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"
24 #error Unknown SIMDJSON_BUILTIN_IMPLEMENTATION
27 #undef SIMDJSON_CONDITIONAL_INCLUDE
33 namespace ondemand = SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand;
The top level simdjson namespace, containing everything the library provides.