MCPcopy Create free account
hub / github.com/Tencent/phxrpc / GetToolMainFileName

Method GetToolMainFileName

codegen/name_render.cpp:202–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202const char *NameRender::GetToolMainFileName(const char *name, char *dest, int size) {
203 snprintf(dest, size, "%s%s_tool_main", prefix_, name);
204
205 ToLower(dest);
206
207 return dest;
208}
209
210void NameRender::GetCopyright(const char *tool_name, const char *proto_file,
211 string *result, bool dont_edit,

Callers 3

Proto2ToolFunction · 0.80
GenerateMakefileMethod · 0.80
GenerateToolMainCppMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected