Index: ../trunk-jpl/src/wrappers/python/include/pythonincludes.h =================================================================== --- ../trunk-jpl/src/wrappers/python/include/pythonincludes.h (revision 0) +++ ../trunk-jpl/src/wrappers/python/include/pythonincludes.h (revision 13750) @@ -0,0 +1,24 @@ + +#ifndef _PYTHON_INCLUDES_H_ +#define _PYTHON_INCLUDES_H_ + +#ifdef HAVE_CONFIG_H +#include +#else +#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!" +#endif + +#ifdef _HAVE_PYTHON_ + +#if _PYTHON_MAJOR_ == 2 +#undef NPY_NO_DEPRECATED_API +#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION +#else +#define NPY_NO_DEPRECATED_API +#endif + +#include +#include + +#endif +#endif /*_PYTHON_INCLUDES_H_*/ Index: ../trunk-jpl/src/wrappers/matlab/include/matlabincludes.h =================================================================== --- ../trunk-jpl/src/wrappers/matlab/include/matlabincludes.h (revision 0) +++ ../trunk-jpl/src/wrappers/matlab/include/matlabincludes.h (revision 13750) @@ -0,0 +1,15 @@ + +#ifndef _MATLAB_INCLUDES_H_ +#define _MATLAB_INCLUDES_H_ + +#ifdef HAVE_CONFIG_H +#include +#else +#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!" +#endif + +#ifdef _HAVE_MATLAB_ +#include +#endif + +#endif /*_MATLAB_INCLUDES_H_*/