Convenience: extract one file, return result (caller frees). */
| 74 | |
| 75 | /* Convenience: extract one file, return result (caller frees). */ |
| 76 | static CBMFileResult *rx(const char *src, CBMLanguage lang, |
| 77 | const char *proj, const char *path) { |
| 78 | return cbm_extract_file(src, (int)strlen(src), lang, proj, path, |
| 79 | 0, NULL, NULL); |
| 80 | } |
| 81 | |
| 82 | /* Return the first definition whose label AND name both match (either may be |
| 83 | * NULL to wildcard). Mirrors the helper in repro_extraction.c. */ |
no test coverage detected