MCPcopy Create free account
hub / github.com/catboost/catboost / EmitHeader

Function EmitHeader

tools/rescompiler/main.cpp:91–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91static inline void EmitHeader(IOutputStream& out, bool useSections) {
92 if (useSections) {
93 out << R"__(
94 // This function are defined in "library/cpp/resource/registry.cpp"
95 namespace NResource {
96 int LightRegisterS(const char*, const char*, unsigned long);
97 int LightRegisterI(const char*, const char*, const char*);
98 }
99 )__";
100 } else {
101 out << "#include <library/cpp/resource/registry.h>\n";
102 }
103}
104
105int main(int argc, char** argv) {
106 if (argc < 4) {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected