Fixing style violation.
This commit is contained in:
parent
ee66fb1c60
commit
2a240e3fe2
|
@ -5,9 +5,9 @@
|
|||
#define SIMDJSON_VERSION 0.2.0
|
||||
namespace simdjson {
|
||||
enum {
|
||||
SIMDJSON_VERSION_MAJOR = 0,
|
||||
SIMDJSON_VERSION_MINOR = 2,
|
||||
SIMDJSON_VERSION_REVISION = 0
|
||||
SIMDJSON_VERSION_MAJOR = 0,
|
||||
SIMDJSON_VERSION_MINOR = 2,
|
||||
SIMDJSON_VERSION_REVISION = 0
|
||||
};
|
||||
}
|
||||
#endif // SIMDJSON_INCLUDE_SIMDJSON_VERSION
|
||||
|
|
|
@ -89,9 +89,9 @@ with open(versionfile, 'w') as file:
|
|||
file.write("#define SIMDJSON_VERSION "+toversionstring(*newversion)+"\n")
|
||||
file.write("namespace simdjson {\n")
|
||||
file.write("enum {\n")
|
||||
file.write(" SIMDJSON_VERSION_MAJOR = "+str(newversion[0])+",\n")
|
||||
file.write(" SIMDJSON_VERSION_MINOR = "+str(newversion[1])+",\n")
|
||||
file.write(" SIMDJSON_VERSION_REVISION = "+str(newversion[2])+"\n")
|
||||
file.write(" SIMDJSON_VERSION_MAJOR = "+str(newversion[0])+",\n")
|
||||
file.write(" SIMDJSON_VERSION_MINOR = "+str(newversion[1])+",\n")
|
||||
file.write(" SIMDJSON_VERSION_REVISION = "+str(newversion[2])+"\n")
|
||||
file.write("};\n")
|
||||
file.write("}\n")
|
||||
file.write("#endif // SIMDJSON_INCLUDE_SIMDJSON_VERSION\n")
|
||||
|
|
Loading…
Reference in New Issue