Do not change C binding just in case.

GitOrigin-RevId: d2d0e7bd9461f03f4bb49b29264a6450c89281c0
This commit is contained in:
levlam 2019-11-21 18:59:48 +03:00
parent 0c4433621e
commit 14467e5b39
1 changed files with 1 additions and 1 deletions

View File

@ -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 {