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))
C.free(unsafe.Pointer(param.name))
param.name=name
}
}
}else{
param.name=name
param.name=name
}
memReady:=false
memReady:=false
ifparam.content!=unsafe.Pointer(uintptr(0)){
ifparam.content!=nullPtr{
ifint(param.content_len)==len(p.Content){
ifint(param.content_len)<len(p.Content){
memReady=true
memReady=true
}else{
}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))