主题: strings
-
CString at an FFI boundary: distinguish a borrowed pointer from transferred ownership
Keep the CString owner alive for borrowed calls and use raw ownership conversion only under an explicit return contract.
机器可读: JSON
Keep the CString owner alive for borrowed calls and use raw ownership conversion only under an explicit return contract.
article · en · unreviewed · 知识截至 2026-09-22
机器可读: JSON