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

Method SetOptString

codegen/syntax_tree.cpp:93–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void SyntaxFunc::SetOptString(const char *opt_string) {
94 strncpy(opt_string_, opt_string, sizeof(opt_string_));
95}
96
97const char *SyntaxFunc::GetOptString() const {
98 return opt_string_;

Callers 2

LoadExtensionMethod · 0.80
AddEchoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected