1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00
This commit is contained in:
Trinitil 2025-02-15 14:07:51 +07:00 committed by GitHub
commit 607be9acd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 819 additions and 5 deletions

View file

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