build: upgrade to go 1.17 and upgrade dependencies

This commit is contained in:
2021-09-02 12:03:56 +02:00
parent b48ac6679e
commit 5436dfebc2
761 changed files with 133691 additions and 105807 deletions

View File

@@ -8,6 +8,11 @@ package gocv
*/
import "C"
// addMatToProfile does nothing if matprofile tag is not set.
func addMatToProfile(p C.Mat) {
return
}
// newMat returns a new Mat from a C Mat
func newMat(p C.Mat) Mat {
return Mat{p: p}
@@ -17,5 +22,6 @@ func newMat(p C.Mat) Mat {
func (m *Mat) Close() error {
C.Mat_Close(m.p)
m.p = nil
m.d = nil
return nil
}