| 782 | }; |
| 783 | |
| 784 | static td::Status process_string(Ctx &ctx) { |
| 785 | if (!ctx.is_string()) { |
| 786 | return td::Status::Error(ton::ErrorCode::protoviolation, PSTRING() << ctx.path() << " must be a string"); |
| 787 | } |
| 788 | TRY_STATUS(ctx.get_string()); |
| 789 | return td::Status::OK(); |
| 790 | } |
| 791 | |
| 792 | static td::Status process_string_hex(Ctx &ctx) { |
| 793 | if (!ctx.is_string()) { |
no test coverage detected