source: issm/oecreview/Archive/13393-13976/ISSM-13749-13750.diff

Last change on this file was 13980, checked in by Mathieu Morlighem, 12 years ago

preparing oecreview for 13393-13976'

File size: 1.3 KB
  • ../trunk-jpl/src/wrappers/python/include/pythonincludes.h

     
     1
     2#ifndef _PYTHON_INCLUDES_H_
     3#define _PYTHON_INCLUDES_H_
     4
     5#ifdef HAVE_CONFIG_H
     6#include <config.h>
     7#else
     8#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     9#endif
     10
     11#ifdef _HAVE_PYTHON_
     12
     13#if _PYTHON_MAJOR_ == 2
     14#undef NPY_NO_DEPRECATED_API
     15#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
     16#else
     17#define NPY_NO_DEPRECATED_API
     18#endif
     19
     20#include <Python.h>
     21#include <arrayobject.h>
     22
     23#endif
     24#endif /*_PYTHON_INCLUDES_H_*/
  • ../trunk-jpl/src/wrappers/matlab/include/matlabincludes.h

     
     1
     2#ifndef _MATLAB_INCLUDES_H_
     3#define _MATLAB_INCLUDES_H_
     4
     5#ifdef HAVE_CONFIG_H
     6#include <config.h>
     7#else
     8#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     9#endif
     10
     11#ifdef _HAVE_MATLAB_
     12#include <mex.h>
     13#endif
     14
     15#endif /*_MATLAB_INCLUDES_H_*/
Note: See TracBrowser for help on using the repository browser.