mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
experimental implementation for OpenCV 3
This commit is contained in:
parent
2c6f30ab25
commit
11c4154b7c
264 changed files with 53296 additions and 51592 deletions
16
ext/opencv/error.hpp
Normal file
16
ext/opencv/error.hpp
Normal file
|
@ -0,0 +1,16 @@
|
|||
// -*- mode: c++; coding: utf-8 -*-
|
||||
#ifndef RUBY_OPENCV_ERROR_H
|
||||
#define RUBY_OPENCV_ERROR_H
|
||||
|
||||
#include "ruby.h"
|
||||
#include "opencv2/core.hpp"
|
||||
|
||||
namespace rubyopencv {
|
||||
namespace Error {
|
||||
void init();
|
||||
VALUE by_code(int error_code);
|
||||
void raise(cv::Exception e);
|
||||
}
|
||||
}
|
||||
|
||||
#endif // RUBY_OPENCV_ERROR_H
|
Loading…
Add table
Add a link
Reference in a new issue