[cffi-devel] Possible foreign-free bug

Stephan Frank defclass at googlemail.com
Mon Nov 11 19:39:11 UTC 2013


On 11.11.2013 19:28, Joeish W wrote:
> ;; CvMat* cvGetCols(const CvArr* arr, CvMat* submat, int start_col, int
> end_col)
> (defcfun ("cvGetCols" get-cols) (:pointer (:struct cv-mat))
>    "Returns array column span."
>    (arr cv-arr)
>    (submat (:pointer (:struct cv-mat)))
>    (start-col :int)
>    (end-col :int))

What is the definition of cv-arr? Is this really correct, or should it 
be (:pointer cv-arr) as is indicated by the C type in the comment.

Regs,
Stephan





More information about the cffi-devel mailing list