Consume N bytes from the current buffer. */
| 137 | |
| 138 | /* Consume N bytes from the current buffer. */ |
| 139 | MBBUF_INLINE void |
| 140 | mbbuf_advance (mbbuf_t *mbbuf, idx_t n) |
| 141 | { |
| 142 | if (mbbuf_avail (mbbuf) < n) |
| 143 | unreachable (); |
| 144 | mbbuf->offset += n; |
| 145 | } |
| 146 | |
| 147 | /* Get the next character in the buffer, filling it from FP if necessary. |
| 148 | If an invalid multi-byte character is seen, we assume the program wants to |
no test coverage detected