File tree Expand file tree Collapse file tree 7 files changed +14
-7
lines changed
Expand file tree Collapse file tree 7 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1+ #include < Python.h>
12#include < pybind11/pybind11.h>
23#include < pybind11/numpy.h>
34
Original file line number Diff line number Diff line change 55 * triangulation, construct an instance of the matplotlib.tri.Triangulation
66 * class without specifying a triangles array.
77 */
8+ #include < Python.h>
89#include < pybind11/pybind11.h>
910#include < pybind11/numpy.h>
1011
Original file line number Diff line number Diff line change 55
66 Python wrapper for TrueType conversion library in ../ttconv.
77 */
8+ #include < Python.h>
89#include " mplutils.h"
910
1011#include < pybind11/pybind11.h>
Original file line number Diff line number Diff line change 22
33/* A python interface to FreeType */
44#pragma once
5+
56#ifndef MPL_FT2FONT_H
67#define MPL_FT2FONT_H
8+
9+ #define PY_SSIZE_T_CLEAN
10+ #include < Python.h>
11+
712#include < vector>
813#include < set>
914#include < stdint.h>
@@ -19,9 +24,6 @@ extern "C" {
1924#include FT_TRUETYPE_TABLES_H
2025}
2126
22- #define PY_SSIZE_T_CLEAN
23- #include < Python.h>
24-
2527/*
2628 By definition, FT_FIXED as 2 16bit values stored in a single long.
2729 */
Original file line number Diff line number Diff line change 1414 * original.
1515 */
1616
17- #include " py_exceptions.h"
18-
19- #include < complex>
20-
2117#ifdef _POSIX_C_SOURCE
2218# undef _POSIX_C_SOURCE
2319#endif
4036#include < Python.h>
4137#include < numpy/ndarrayobject.h>
4238
39+ #include " py_exceptions.h"
40+
41+ #include < complex>
42+
4343namespace numpy
4444{
4545
Original file line number Diff line number Diff line change 33
44// pybind11 equivalent of py_converters.h
55
6+ #include < Python.h>
67#include < pybind11/pybind11.h>
78#include < pybind11/numpy.h>
89
Original file line number Diff line number Diff line change 6363#ifndef MPL_TRI_H
6464#define MPL_TRI_H
6565
66+ #include < Python.h>
6667#include < pybind11/pybind11.h>
6768#include < pybind11/numpy.h>
6869
You can’t perform that action at this time.
0 commit comments