log.Println("Error: must pre-allocate parameter.")
log.Println("must pre-allocate parameter.")
return-1
return-1
}else{
}else{
ifunsafe.Pointer(param.content)!=nullPtr{
ifunsafe.Pointer(param.content)!=nullPtr{
ifint(param.content_len)!=len(p.Content){
ifint(param.content_len)!=len(p.Content){
log.Println("Error: the pre-allocated content len does not match parameter content len.",param.content_len,len(p.Content))
log.Printf("the pre-allocated content len does not match parameter content len. Pre-allocated len: %d, returned len: %d",param.content_len,len(p.Content))