| 67 | } |
| 68 | |
| 69 | int LuaGetStackDepth(lua_State* L) |
| 70 | { |
| 71 | int depth = 0; |
| 72 | for (auto ci = L->ci; ci != &L->base_ci; ci = ci->previous) { |
| 73 | depth++; |
| 74 | } |
| 75 | |
| 76 | return depth; |
| 77 | } |
| 78 | |
| 79 | void LuaToProtobuf(lua_State* L, int idx, MsgValue* value) |
| 80 | { |
no outgoing calls
no test coverage detected