| 204 | } |
| 205 | |
| 206 | size_t rune_altern_fieldname_len(const char *alternstr, size_t alternstrlen) |
| 207 | { |
| 208 | for (size_t i = 0; i < alternstrlen; i++) { |
| 209 | if (cispunct(alternstr[i])) |
| 210 | return i; |
| 211 | } |
| 212 | return alternstrlen; |
| 213 | } |
| 214 | |
| 215 | /* Sets *more on success: true if another altern follows */ |
| 216 | static struct rune_altern *rune_altern_decode(const tal_t *ctx, |
no test coverage detected