| 241 | } |
| 242 | |
| 243 | static struct footnote_ref * |
| 244 | create_footnote_ref(struct footnote_list *list, const uint8_t *name, size_t name_size) |
| 245 | { |
| 246 | struct footnote_ref *ref = hoedown_calloc(1, sizeof(struct footnote_ref)); |
| 247 | |
| 248 | ref->id = hash_link_ref(name, name_size); |
| 249 | |
| 250 | return ref; |
| 251 | } |
| 252 | |
| 253 | static int |
| 254 | add_footnote_ref(struct footnote_list *list, struct footnote_ref *ref) |
no test coverage detected