Extract one source text as language `lang` under project "p"; the result * (tokens in doc_links, scope blob in doc_scope) is freed with * cbm_free_result. */
| 36 | * (tokens in doc_links, scope blob in doc_scope) is freed with |
| 37 | * cbm_free_result. */ |
| 38 | static inline CBMFileResult *dm_extract(const char *src, CBMLanguage lang, const char *rel_path) { |
| 39 | return cbm_extract_file(src, (int)strlen(src), lang, "p", rel_path, 0, NULL, NULL); |
| 40 | } |
| 41 | |
| 42 | /* The first token written as `raw`; NULL when there is none. */ |
| 43 | static inline const CBMDocLink *dm_find_token(const CBMFileResult *r, const char *raw) { |
no test coverage detected