Update cxtype.go

This commit is contained in:
daohang 2014-10-22 10:53:47 +08:00
parent 1e791cbaa7
commit a691a20dc3

View file

@ -40,6 +40,9 @@ static int CV_IS_IMAGE_(void* img) {
static int myGetMatType(const CvMat* mat) {
return mat->type;
}
static char* myGetData(const CvMat* mat) {
return (char*)mat->data.ptr;
}
static int myGetMatNDType(const CvMatND* mat) {
return mat->type;
}