[skip ci] Add comment for HandleCProtoResult (#9044)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
bigsheeper 2021-10-01 23:44:10 +08:00 committed by GitHub
parent 4323b5dc98
commit 66eac49c49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,7 @@ func HandleCStatus(status *C.CStatus, extraInfo string) error {
return errors.New(finalMsg)
}
// HandleCProtoResult deal with the result proto returned from CGO
func HandleCProtoResult(cRes *C.CProtoResult, msg proto.Message) error {
// Standalone CProto is protobuf created by C side,
// Passed from c side