1
0
Fork 0
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:
ser1zw 2011-01-25 01:59:45 +09:00
parent 440d27cdcb
commit 276af6e462
4 changed files with 98 additions and 12 deletions

View file

@ -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;