| 61 | |
| 62 | @dataclasses.dataclass(frozen=True, slots=True) |
| 63 | class StableABIEntry: |
| 64 | # Role of the object. |
| 65 | # Source: Each [item_kind] in stable_abi.toml is mapped to a C Domain role. |
| 66 | role: str |
| 67 | # Name of the object. |
| 68 | # Source: [<item_kind>.*] in stable_abi.toml. |
| 69 | name: str |
| 70 | # Version when the object was added to the stable ABI. |
| 71 | # (Source: [<item_kind>.*.added] in stable_abi.toml. |
| 72 | added: str |
| 73 | # An explananatory blurb for the ifdef. |
| 74 | # Source: ``feature_macro.*.doc`` in stable_abi.toml. |
| 75 | ifdef_note: str |
| 76 | # Defines how much of the struct is exposed. Only relevant for structs. |
| 77 | # Source: [<item_kind>.*.struct_abi_kind] in stable_abi.toml. |
| 78 | struct_abi_kind: str |
| 79 | |
| 80 | |
| 81 | def read_refcount_data(refcount_filename: Path) -> dict[str, RefCountEntry]: |
no outgoing calls
no test coverage detected
searching dependent graphs…