MCPcopy Index your code
hub / github.com/Shopify/go-lua / writeUpvalues

Method writeUpvalues

dump.go:79–86  ·  view source on GitHub ↗
(p *prototype)

Source from the content-addressed store, hash-verified

77}
78
79func (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
88func (d *dumpState) writeString(s string) {
89 ba := []byte(s)

Callers 1

dumpFunctionMethod · 0.95

Calls 3

writeIntMethod · 0.95
writeBoolMethod · 0.95
writeByteMethod · 0.95

Tested by

no test coverage detected