1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00
ruby-opencv/ext/opencv/cverror.h

29 lines
598 B
C
Raw Normal View History

/************************************************************
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 {
#define __NAMESPACE_END_CVERROR }
__NAMESPACE_BEGIN_OPENCV
__NAMESPACE_BEGIN_CVERROR
2011-07-10 10:46:20 -04:00
void define_ruby_class();
VALUE by_code(int error_code);
void raise(cv::Exception e);
__NAMESPACE_END_CVERROR
__NAMESPACE_END_OPENCV
#endif // RUBY_OPENCV_CVERROR_H