mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Merge 6e83ded8de into 2a68c8610b
This commit is contained in:
commit
607be9acd5
21 changed files with 819 additions and 5 deletions
|
|
@ -23,9 +23,9 @@
|
|||
namespace tlbc {
|
||||
|
||||
/*
|
||||
*
|
||||
*
|
||||
* C++ CODE GENERATION
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
CppIdentSet global_cpp_ids;
|
||||
|
|
@ -3036,7 +3036,7 @@ void CppTypeCode::generate_store_enum_method(std::ostream& os, int options) {
|
|||
<< minl << ");\n";
|
||||
} else if (minl == maxl) {
|
||||
if (exact) {
|
||||
os << " return cb.store_long_rchk_bool(value, " << minl << ");\n";
|
||||
os << " return cb.store_ulong_rchk_bool(value, " << minl << ");\n";
|
||||
} else if (incremental_cons_tags && cons_num > (1 << (minl - 1))) {
|
||||
os << " return cb.store_uint_less(" << cons_num << ", value);\n";
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue