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

Method SetProtoFile

codegen/syntax_tree.cpp:128–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void SyntaxTree::SetProtoFile(const char * proto_file) {
129 strncpy(proto_file_, proto_file, sizeof(proto_file_) - 1);
130}
131
132const char *SyntaxTree::GetProtoFile() const {
133 return proto_file_;

Callers 1

LoadNormalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected