(obj)
| 20 | |
| 21 | |
| 22 | def from_dc_charpointer(obj) -> str: |
| 23 | if obj != ffi.NULL: |
| 24 | return ffi.string(ffi.gc(obj, lib.dc_str_unref)).decode("utf8") |
| 25 | raise ValueError |
| 26 | |
| 27 | |
| 28 | def from_optional_dc_charpointer(obj) -> Optional[str]: |
no outgoing calls
no test coverage detected