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

Method SetType

codegen/syntax_tree.cpp:58–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void SyntaxParam::SetType(const char *type) {
59 strncpy(type_, type, sizeof(type_) - 1);
60}
61
62const char *SyntaxParam::GetType() const {
63 return type_;

Callers 2

LoadNormalMethod · 0.80
AddEchoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected