Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Tetragramm
GitHub Repository: Tetragramm/opencv
Path: blob/master/modules/java/generator/src/cpp/common.h
16354 views
1
// This file is part of OpenCV project.
2
// It is subject to the license terms in the LICENSE file found in the top-level directory
3
// of this distribution and at http://opencv.org/license.html
4
5
#ifndef __OPENCV_JAVA_COMMON_H__
6
#define __OPENCV_JAVA_COMMON_H__
7
8
#include <stdexcept>
9
#include <string>
10
11
extern "C" {
12
13
#if !defined(__ppc__)
14
// to suppress warning from jni.h on OS X
15
# define TARGET_RT_MAC_CFM 0
16
#endif
17
#include <jni.h>
18
19
} // extern "C"
20
21
#include "opencv_java.hpp"
22
#include "opencv2/core/utility.hpp"
23
24
#include "converters.h"
25
#include "listconverters.hpp"
26
27
#ifdef _MSC_VER
28
# pragma warning(disable:4800 4244)
29
#endif
30
31
#endif //__OPENCV_JAVA_COMMON_H__
32
33