1 2 3 4 5
func go{{ trait_pascal }}FreeString(ptr *C.char) { if ptr != nil { C.free(unsafe.Pointer(ptr)) } }