flip level */ nh.flip_level(n); */
| 1506 | /* flip level */ |
| 1507 | /* nh.flip_level(n); */ |
| 1508 | staticfn int |
| 1509 | nhl_flip_level(lua_State *L) |
| 1510 | { |
| 1511 | int argc = lua_gettop(L); |
| 1512 | int flp = 0; |
| 1513 | |
| 1514 | if (argc == 1) |
| 1515 | flp = lua_tointeger(L, 1); |
| 1516 | |
| 1517 | flip_level(flp, !gi.in_mklev); |
| 1518 | |
| 1519 | return 0; |
| 1520 | } |
| 1521 | |
| 1522 | DISABLE_WARNING_UNREACHABLE_CODE |
| 1523 |
nothing calls this directly
no test coverage detected