Mercurial > pytave
comparison pycall.cc @ 421:24555fba9964
Include <Python.h> first to suppress possible redefinition warnings
* oct-py-eval.cc, oct-py-types.cc, oct-py-util.cc, pycall.cc, pyeval.cc,
pyexec.cc: Include <Python.h> before other system and project header files
to suppress possible macro redefinition warnings. Normalize and reduce use of
Octave header files.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Thu, 04 May 2017 13:22:20 -0700 |
parents | 9bf8ba050122 |
children | 8247f298fd16 |
comparison
equal
deleted
inserted
replaced
420:7864849e84c2 | 421:24555fba9964 |
---|---|
22 | 22 |
23 #if defined (HAVE_CONFIG_H) | 23 #if defined (HAVE_CONFIG_H) |
24 # include <config.h> | 24 # include <config.h> |
25 #endif | 25 #endif |
26 | 26 |
27 #include <Python.h> | |
27 #include <octave/oct.h> | 28 #include <octave/oct.h> |
28 #include <octave/parse.h> | |
29 | 29 |
30 #include "exceptions.h" | 30 #include "exceptions.h" |
31 #include "oct-py-eval.h" | 31 #include "oct-py-eval.h" |
32 #include "oct-py-init.h" | 32 #include "oct-py-init.h" |
33 #include "oct-py-object.h" | 33 #include "oct-py-object.h" |