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

Method SetPrefix

codegen/syntax_tree.cpp:144–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void SyntaxTree::SetPrefix(const char *prefix) {
145 strncpy(prefix_, prefix, sizeof(prefix_) - 1);
146 ToUpper(prefix_);
147}
148
149const char *SyntaxTree::GetPrefix() const {
150 return prefix_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected