Do not change C binding just in case.
GitOrigin-RevId: d2d0e7bd9461f03f4bb49b29264a6450c89281c0
This commit is contained in:
parent
0c4433621e
commit
14467e5b39
@ -50,7 +50,7 @@ bool TD_TL_writer::is_combinator_supported(const tl::tl_combinator *constructor)
|
||||
}
|
||||
|
||||
bool TD_TL_writer::is_default_constructor_generated(const tl::tl_combinator *t) const {
|
||||
return tl_name == "td_api" || t->var_count > 0;
|
||||
return tl_name == "td_api" || tl_name == "TdApi" || t->var_count > 0;
|
||||
}
|
||||
|
||||
int TD_TL_writer::get_storer_type(const tl::tl_combinator *t, const std::string &storer_name) const {
|
||||
|
Loading…
Reference in New Issue
Block a user