Extract a single file and return the result. Caller frees. */
| 27 | |
| 28 | /* Extract a single file and return the result. Caller frees. */ |
| 29 | static CBMFileResult *extract_one(const char *src, CBMLanguage lang, const char *proj, |
| 30 | const char *path) { |
| 31 | return cbm_extract_file(src, (int)strlen(src), lang, proj, path, 0, NULL, NULL); |
| 32 | } |
| 33 | |
| 34 | /* Find a definition by name in an extraction result. */ |
| 35 | static const CBMDefinition *find_def(const CBMFileResult *r, const char *name) { |
no test coverage detected