Convenience: extract, assert no error, return result. Caller frees. */
| 111 | |
| 112 | /* Convenience: extract, assert no error, return result. Caller frees. */ |
| 113 | static CBMFileResult *extract(const char *src, CBMLanguage lang, const char *proj, |
| 114 | const char *path) { |
| 115 | CBMFileResult *r = cbm_extract_file(src, (int)strlen(src), lang, proj, path, 0, NULL, NULL); |
| 116 | return r; |
| 117 | } |
| 118 | |
| 119 | /* As extract(), but threads an ObjectScript macro table through. */ |
| 120 | static CBMFileResult *extract_with_macros(const char *src, CBMLanguage lang, const char *proj, |
no test coverage detected