| 190 | } |
| 191 | |
| 192 | void PopValue(uint32_t & type) |
| 193 | { |
| 194 | uint8_t const cl = get_control_level(type); |
| 195 | ASSERT_GREATER(cl, 0, ()); |
| 196 | |
| 197 | // remove control level |
| 198 | set_value(type, cl, 0); |
| 199 | |
| 200 | // set control level |
| 201 | set_value(type, cl - 1, 1); |
| 202 | } |
| 203 | |
| 204 | void TruncValue(uint32_t & type, uint8_t level) |
| 205 | { |