1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

updated fift + bugfixes

This commit is contained in:
ton 2019-12-05 16:51:51 +04:00
parent 090e0c16eb
commit ceaed40ac4
28 changed files with 530 additions and 108 deletions

View file

@ -218,6 +218,9 @@ class TLB {
return cs_ref.not_null() ? as_string(*cs_ref, indent) : "<null>";
}
std::string as_string_ref(Ref<vm::Cell> cell_ref, int indent = 0) const;
static inline size_t nat_abs(int x) {
return (x > 1) * 2 + (x & 1);
}
protected:
bool validate_ref_internal(Ref<vm::Cell> cell_ref, bool weak = false) const;