theothergrantdavidson / opencv-ts

A place for the typescript bindings for OpencvJS
Apache License 2.0
52 stars 19 forks source link

Add types for cv.exceptionFromPtr #27

Closed mjwwit closed 2 years ago

mjwwit commented 2 years ago

OpenCV.js can throw pointers to internal exceptions. By itself such a pointer is completely useless as no other contextual information is included. Luckily the library supports retrieving the exception behind a pointer using the exceptionFromPtr function. This PR adds types for this function.

theothergrantdavidson commented 2 years ago

Thanks for updating that, updated in 1.3.4