MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / gen_get_id

Method gen_get_id

tl/generate/tl_writer_cpp.cpp:520–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518}
519
520std::string TD_TL_writer_cpp::gen_get_id(const std::string &class_name, std::int32_t id, bool is_proxy) const {
521 if (is_proxy) {
522 return "";
523 }
524 return "\nconst std::int32_t " + class_name + "::ID;\n";
525}
526
527std::string TD_TL_writer_cpp::gen_function_result_type(const tl::tl_tree *result) const {
528 return "";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected