1
0
Fork 0
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:
ser1zw 2016-04-03 05:19:48 +09:00
parent 2c6f30ab25
commit 11c4154b7c
264 changed files with 53296 additions and 51592 deletions

16
ext/opencv/error.hpp Normal file
View 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