mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
modified and tested IplConvKernel
This commit is contained in:
parent
440d27cdcb
commit
276af6e462
4 changed files with 98 additions and 12 deletions
|
@ -117,6 +117,18 @@ release_object(void *ptr)
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Release IplConvKernel object from memory and delete from hashtable.
|
||||
*/
|
||||
void
|
||||
release_iplconvkernel_object(void *ptr)
|
||||
{
|
||||
if(ptr){
|
||||
unresist_object(ptr);
|
||||
cvReleaseStructuringElement((IplConvKernel**)(&ptr));
|
||||
}
|
||||
}
|
||||
|
||||
VALUE rb_module;
|
||||
VALUE rb_opencv_constants;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue