mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
added error handling to CvHistgram
This commit is contained in:
parent
f8685c49c8
commit
37109f225d
2 changed files with 39 additions and 14 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "opencv.h"
|
||||
|
||||
#define __NAMESPACE_BEGIN_CVHISTOGRAM namespace cCvHistogram{
|
||||
#define __NAMESPACE_BEGIN_CVHISTOGRAM namespace cCvHistogram {
|
||||
#define __NAMESPACE_END_CVHISTOGRAM }
|
||||
|
||||
__NAMESPACE_BEGIN_OPENCV
|
||||
|
@ -38,8 +38,8 @@ VALUE rb_thresh_bang(VALUE self, VALUE factor);
|
|||
|
||||
__NAMESPACE_END_CVHISTOGRAM
|
||||
|
||||
inline CvHistogram
|
||||
*CVHISTOGRAM(VALUE object)
|
||||
inline CvHistogram*
|
||||
CVHISTOGRAM(VALUE object)
|
||||
{
|
||||
CvHistogram *ptr;
|
||||
Data_Get_Struct(object, CvHistogram, ptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue