Convenience: extract, return result (caller frees). Mirrors test_extraction.c. */
| 14 | |
| 15 | /* Convenience: extract, return result (caller frees). Mirrors test_extraction.c. */ |
| 16 | static CBMFileResult *rx(const char *src, CBMLanguage lang, const char *proj, const char *path) { |
| 17 | return cbm_extract_file(src, (int)strlen(src), lang, proj, path, 0, NULL, NULL); |
| 18 | } |
| 19 | |
| 20 | /* Find the first definition matching label+name (either may be NULL = wildcard). */ |
| 21 | static CBMDefinition *find_def(CBMFileResult *r, const char *label, const char *name) { |
no test coverage detected