MCPcopy Create free account
hub / github.com/chai2010/cgo / CString

Function CString

cgo.go:22–24  ·  view source on GitHub ↗

Go string to C string The C string is allocated in the C heap using malloc. It is the caller's responsibility to arrange for it to be freed, such as by calling C.free (be sure to include stdlib.h if C.free is needed).

(s string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected