2008-08-19 11:01:28 -04:00
|
|
|
/************************************************************
|
|
|
|
|
|
|
|
cverror.h -
|
|
|
|
|
|
|
|
$Author: lsxi $
|
|
|
|
|
|
|
|
Copyright (C) 2005-2006 Masakazu Yonekura
|
|
|
|
|
|
|
|
************************************************************/
|
|
|
|
#ifndef RUBY_OPENCV_CVERROR_H
|
|
|
|
#define RUBY_OPENCV_CVERROR_H
|
|
|
|
|
|
|
|
#include "opencv.h"
|
|
|
|
|
2011-07-10 10:46:20 -04:00
|
|
|
#define __NAMESPACE_BEGIN_CVERROR namespace cCvError {
|
2008-08-19 11:01:28 -04:00
|
|
|
#define __NAMESPACE_END_CVERROR }
|
|
|
|
|
|
|
|
__NAMESPACE_BEGIN_OPENCV
|
|
|
|
__NAMESPACE_BEGIN_CVERROR
|
|
|
|
|
2011-07-10 10:46:20 -04:00
|
|
|
void define_ruby_class();
|
2008-08-19 11:01:28 -04:00
|
|
|
VALUE by_code(int error_code);
|
2011-07-11 13:30:10 -04:00
|
|
|
void raise(cv::Exception e);
|
2008-08-19 11:01:28 -04:00
|
|
|
|
|
|
|
__NAMESPACE_END_CVERROR
|
|
|
|
__NAMESPACE_END_OPENCV
|
|
|
|
|
|
|
|
#endif // RUBY_OPENCV_CVERROR_H
|