| 452 | } |
| 453 | |
| 454 | static void md_shape(CBMDocLinkMdPath *out, CBMDocLinkMdShape shape, const char *path, |
| 455 | const char *member, uint32_t first, uint32_t last) { |
| 456 | out->shape = shape; |
| 457 | out->path = path; |
| 458 | out->member = member; |
| 459 | out->first_line = first; |
| 460 | out->last_line = last; |
| 461 | out->instance = false; |
| 462 | out->colon = false; |
| 463 | } |
| 464 | |
| 465 | /* The path branch: `s` has a slash (or a Windows path with an extension). */ |
| 466 | static bool md_classify_path(char *s, size_t n, CBMDocLinkMdPath *out) { |
no outgoing calls
no test coverage detected