Extract a Rust source string and return the raw CBMFileResult. * Caller must cbm_free_result() the returned pointer. */
| 52 | /* Extract a Rust source string and return the raw CBMFileResult. |
| 53 | * Caller must cbm_free_result() the returned pointer. */ |
| 54 | static CBMFileResult *rx(const char *src, const char *proj, const char *path) { |
| 55 | return cbm_extract_file(src, (int)strlen(src), CBM_LANG_RUST, proj, path, 0, NULL, NULL); |
| 56 | } |
| 57 | |
| 58 | /* Count how many defs in r have exactly this label AND name. */ |
| 59 | static int count_defs_named(CBMFileResult *r, const char *label, const char *name) { |
no test coverage detected