File tree 18 files changed +18
-0
lines changed
18 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 35
35
36
36
#include < Python.h>
37
37
#define NO_IMPORT_ARRAY
38
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
38
39
#include " numpy/arrayobject.h"
39
40
40
41
#include " VoronoiDiagramGenerator.h"
Original file line number Diff line number Diff line change 31
31
#define VORONOI_DIAGRAM_GENERATOR
32
32
33
33
#include " Python.h"
34
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
34
35
#include " numpy/arrayobject.h"
35
36
36
37
#include < math.h>
Original file line number Diff line number Diff line change 6
6
#include " VoronoiDiagramGenerator.h"
7
7
#include " delaunay_utils.h"
8
8
#include " natneighbors.h"
9
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
9
10
#include " numpy/noprefix.h"
10
11
11
12
// support numpy 1.6 - this macro got renamed and deprecated at once in 1.7
Original file line number Diff line number Diff line change 65
65
66
66
#include " CXX/Extensions.hxx"
67
67
#include " CXX/Objects.hxx"
68
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
68
69
#include " numpy/arrayobject.h"
69
70
70
71
#include < list>
Original file line number Diff line number Diff line change 38
38
39
39
#include " MPL_isnan.h"
40
40
41
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
41
42
#include " numpy/arrayobject.h"
42
43
#include " agg_py_transforms.h"
43
44
Original file line number Diff line number Diff line change 3
3
*/
4
4
5
5
#include "Python.h"
6
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
6
7
#include "numpy/arrayobject.h"
7
8
8
9
#include <pygtk/pygtk.h>
Original file line number Diff line number Diff line change 13
13
#include < fstream>
14
14
15
15
#include " agg_basics.h"
16
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
16
17
#include " numpy/arrayobject.h"
17
18
#include " _backend_agg.h"
18
19
#include " agg_py_transforms.h"
Original file line number Diff line number Diff line change 9
9
#include < cmath>
10
10
#include < cstdio>
11
11
12
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
12
13
#include " numpy/arrayobject.h"
13
14
14
15
#include " agg_color_rgba.h"
Original file line number Diff line number Diff line change 2
2
#include < ApplicationServices/ApplicationServices.h>
3
3
#include < sys/socket.h>
4
4
#include < Python.h>
5
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
5
6
#include " numpy/arrayobject.h"
6
7
#include " path_cleanup.h"
7
8
Original file line number Diff line number Diff line change 25
25
26
26
// TODO: Un CXX-ify this module
27
27
#include " CXX/Extensions.hxx"
28
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
28
29
#include " numpy/arrayobject.h"
29
30
#include " mplutils.h"
30
31
Original file line number Diff line number Diff line change 4
4
#define __AGG_PY_PATH_ITERATOR_H__
5
5
6
6
#include " CXX/Objects.hxx"
7
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
7
8
#include " numpy/arrayobject.h"
8
9
#include " agg_path_storage.h"
9
10
Original file line number Diff line number Diff line change 3
3
#include < Python.h>
4
4
5
5
#define NO_IMPORT_ARRAY
6
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
6
7
#include " numpy/arrayobject.h"
7
8
8
9
#include " CXX/Objects.hxx"
Original file line number Diff line number Diff line change 20
20
#include "structmember.h"
21
21
#include <stdlib.h>
22
22
#include <stdio.h>
23
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
23
24
#include "numpy/arrayobject.h"
24
25
25
26
#if PY_MAJOR_VERSION >= 3
Original file line number Diff line number Diff line change 3
3
4
4
#include <Python.h>
5
5
#include <stdio.h>
6
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
6
7
#include "numpy/npy_common.h"
7
8
#include "numpy/ndarrayobject.h"
8
9
#include "mplutils.h"
Original file line number Diff line number Diff line change 6
6
7
7
#include " file_compat.h"
8
8
9
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
9
10
#include " numpy/arrayobject.h"
10
11
11
12
/*
Original file line number Diff line number Diff line change 2
2
3
3
#include < Python.h>
4
4
#define NO_IMPORT_ARRAY
5
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
5
6
#include " numpy/arrayobject.h"
6
7
7
8
#include " agg_py_path_iterator.h"
Original file line number Diff line number Diff line change 5
5
6
6
#include < stdlib.h>
7
7
#include " CXX/Objects.hxx"
8
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
8
9
#include " numpy/arrayobject.h"
9
10
#include " agg_path_storage.h"
10
11
#include " agg_clip_liang_barsky.h"
Original file line number Diff line number Diff line change 6
6
* class without specifying a triangles array.
7
7
*/
8
8
#include "Python.h"
9
+ #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
9
10
#include "numpy/noprefix.h"
10
11
#include "qhull/qhull_a.h"
11
12
#include <stdio.h>
You can’t perform that action at this time.
0 commit comments