(p *prototype)
| 77 | } |
| 78 | |
| 79 | func (d *dumpState) writeUpvalues(p *prototype) { |
| 80 | d.writeInt(len(p.upValues)) |
| 81 | |
| 82 | for _, u := range p.upValues { |
| 83 | d.writeBool(u.isLocal) |
| 84 | d.writeByte(byte(u.index)) |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | func (d *dumpState) writeString(s string) { |
| 89 | ba := []byte(s) |
no test coverage detected