MCPcopy Create free account
hub / github.com/chatmail/core / from_dc_charpointer

Function from_dc_charpointer

python/src/deltachat/cutil.py:22–25  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

20
21
22def 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
28def from_optional_dc_charpointer(obj) -> Optional[str]:

Callers 15

overview_pageMethod · 0.85
get_dc_info_as_dictFunction · 0.85
get_configMethod · 0.85
get_blobdirMethod · 0.85
get_setup_contact_qrMethod · 0.85
get_connectivity_htmlMethod · 0.85
get_nameMethod · 0.85
get_summaryMethod · 0.85
get_encryption_infoMethod · 0.85
get_join_qrMethod · 0.85
get_profile_imageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected