| 608 | } |
| 609 | |
| 610 | void VM::StructToString(string &sd, PrintPrefs &pp, const TypeInfo &ti, const Value *elems) { |
| 611 | sd += ReverseLookupType(ti.structidx); |
| 612 | if (pp.indent) sd += ' '; |
| 613 | VectorOrObjectToString(*this, sd, pp, '{', '}', ti.len, 1, elems, false, |
| 614 | [&](iint i) -> const TypeInfo & { |
| 615 | return GetTypeInfo(ti.GetElemOrParent(i)); |
| 616 | } |
| 617 | ); |
| 618 | } |
| 619 | |
| 620 | void ElemToFlexBuffer(ToFlexBufferContext &fbc, const TypeInfo &ti, iint &i, iint width, |
| 621 | const Value *elems, string_view key, type_elem_t defval) { |
no test coverage detected