(L *LState)
| 138 | } |
| 139 | |
| 140 | func debugSetUpvalue(L *LState) int { |
| 141 | fn := L.CheckFunction(1) |
| 142 | idx := L.CheckInt(2) |
| 143 | value := L.CheckAny(3) |
| 144 | name := L.SetUpvalue(fn, idx, value) |
| 145 | if len(name) > 0 { |
| 146 | L.Push(LString(name)) |
| 147 | } else { |
| 148 | L.Push(LNil) |
| 149 | } |
| 150 | return 1 |
| 151 | } |
| 152 | |
| 153 | func debugTraceback(L *LState) int { |
| 154 | msg := "" |
nothing calls this directly
no test coverage detected
searching dependent graphs…