log.Println("warning: pre-allocated parameter name not match parameter name, pre-allocated parameter name will be freed.",n,p.Name)
C.free(unsafe.Pointer(param.name))
param.name=name
}
}else{
param.name=name
nameReady=true
}
}
memReady:=false
ifreuse!=0&¶m.content!=nullPtr{
ifint(param.content_len)<len(p.Content){
memReady=true
ifparam.content!=nullPtr{
ifint(param.content_len)==len(p.Content){
contentAllocated=true
}else{
log.Println("warning: pre-allocated content len is smaller than parameter content len, pre-allocated content will be freed.",param.content_len,len(p.Content))
log.Println("warning: pre-allocated content len does not match parameter content len, pre-allocated content will be freed.",param.content_len,len(p.Content))