| 89 | } |
| 90 | |
| 91 | static 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 | |
| 105 | int main(int argc, char** argv) { |
| 106 | if (argc < 4) { |