Visual Servoing Platform  version 3.4.0
common.h
1 // This file is part of ViSP project.
2 
3 #ifndef _VISP_JAVA_COMMON_H_
4 #define _VISP_JAVA_COMMON_H_
5 
6 #include <stdexcept>
7 #include <string>
8 
9 extern "C" {
10 
11 #if !defined(__ppc__)
12 // to suppress warning from jni.h on OS X
13 # define TARGET_RT_MAC_CFM 0
14 #endif
15 #include <jni.h>
16 
17 } // extern "C"
18 
19 #include "visp_java.hpp"
20 #include "listconverters.hpp"
21 
22 #ifdef _MSC_VER
23 # pragma warning(disable:4800 4244)
24 #endif
25 
26 #endif //_VISP_JAVA_COMMON_H_