(p *prototype)
| 129 | } |
| 130 | |
| 131 | func (d *dumpState) dumpFunction(p *prototype) { |
| 132 | d.writeInt(p.lineDefined) |
| 133 | d.writeInt(p.lastLineDefined) |
| 134 | d.writeByte(byte(p.parameterCount)) |
| 135 | d.writeBool(p.isVarArg) |
| 136 | d.writeByte(byte(p.maxStackSize)) |
| 137 | d.writeCode(p) |
| 138 | d.writeConstants(p) |
| 139 | d.writePrototypes(p) |
| 140 | d.writeUpvalues(p) |
| 141 | d.writeDebug(p) |
| 142 | } |
| 143 | |
| 144 | func (d *dumpState) dumpHeader() { |
| 145 | d.err = binary.Write(d.out, d.order, header) |
no test coverage detected