| 210 | } |
| 211 | |
| 212 | static void destroy_layer(struct layer *l, struct askrene *askrene) |
| 213 | { |
| 214 | if (!layer_name_hash_del(askrene->layers, l)) |
| 215 | abort(); |
| 216 | } |
| 217 | |
| 218 | /* Low-level versions of routines which do *not* save (used for loading, too) */ |
| 219 | static struct layer *add_layer(struct askrene *askrene, const char *name TAKES, bool persistent) |