diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /tools/rorescompiler | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
download | ydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'tools/rorescompiler')
-rw-r--r-- | tools/rorescompiler/main.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/rorescompiler/main.cpp b/tools/rorescompiler/main.cpp index d0db96be15..7ca5346e4c 100644 --- a/tools/rorescompiler/main.cpp +++ b/tools/rorescompiler/main.cpp @@ -3,20 +3,20 @@ #include <util/digest/city.h> #include <util/stream/output.h> #include <util/stream/file.h> -#include <util/string/escape.h> +#include <util/string/escape.h> #include <util/string/vector.h> #include <util/string/split.h> using namespace NResource; void GenOne(const TString& raw, const TString& key, IOutputStream& out) { - TString size = raw + "Size"; - TString name = ToString(CityHash64(key.data(), key.size())); - out << "extern \"C\" const char " << raw << "[];\n" - << "extern \"C\" const unsigned int " << size << ";\n" - << "static const NResource::TRegHelper REG_name" << name - << "(\"" << EscapeC(key) << "\", TStringBuf(" << raw << ", " << size << "));\n" - << "\n"; + TString size = raw + "Size"; + TString name = ToString(CityHash64(key.data(), key.size())); + out << "extern \"C\" const char " << raw << "[];\n" + << "extern \"C\" const unsigned int " << size << ";\n" + << "static const NResource::TRegHelper REG_name" << name + << "(\"" << EscapeC(key) << "\", TStringBuf(" << raw << ", " << size << "));\n" + << "\n"; }; int main(int argc, char** argv) { |