File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #define PY_SSIZE_T_CLEAN
12#include < Cocoa/Cocoa.h>
23#include < ApplicationServices/ApplicationServices.h>
34#include < sys/socket.h>
Original file line number Diff line number Diff line change 55 Undefining _POSIX_C_SOURCE and _XOPEN_SOURCE stops a couple
66 of harmless warnings.
77*/
8-
8+ # define PY_SSIZE_T_CLEAN
99
1010extern " C" {
1111# include < png.h>
Original file line number Diff line number Diff line change 77 * See LICENSE/LICENSE.PIL for details.
88 *
99 */
10-
10+ # define PY_SSIZE_T_CLEAN
1111#include < Python.h>
1212#include < cstdlib>
1313#include < cstdio>
Original file line number Diff line number Diff line change 55
66 Python wrapper for TrueType conversion library in ../ttconv.
77 */
8-
8+ # define PY_SSIZE_T_CLEAN
99#include " mplutils.h"
1010
1111#include < Python.h>
Original file line number Diff line number Diff line change 11#ifndef __FILE_COMPAT_H__
22#define __FILE_COMPAT_H__
3-
3+ #define PY_SSIZE_T_CLEAN
44#include <Python.h>
55#include <stdio.h>
66#include "numpy/npy_common.h"
Original file line number Diff line number Diff line change 44
55#ifndef _MPLUTILS_H
66#define _MPLUTILS_H
7+ #define PY_SSIZE_T_CLEAN
78
89#if defined(_MSC_VER) && _MSC_VER <= 1600
910typedef unsigned __int8 uint8_t ;
Original file line number Diff line number Diff line change 22
33#ifndef _NUMPY_CPP_H_
44#define _NUMPY_CPP_H_
5-
5+ # define PY_SSIZE_T_CLEAN
66/* **************************************************************************
77 * This file is based on original work by Mark Wiebe, available at:
88 *
Original file line number Diff line number Diff line change 22
33#ifndef __PY_ADAPTORS_H__
44#define __PY_ADAPTORS_H__
5-
5+ # define PY_SSIZE_T_CLEAN
66/* **************************************************************************
77 * This module contains a number of C++ classes that adapt Python data
88 * structures to C++ and Agg-friendly interfaces.
Original file line number Diff line number Diff line change 11#define NO_IMPORT_ARRAY
2-
2+ # define PY_SSIZE_T_CLEAN
33#include " py_converters.h"
44#include " numpy_cpp.h"
55
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+ #define PY_SSIZE_T_CLEAN
89#include "Python.h"
910#include "numpy/noprefix.h"
1011#include "libqhull/qhull_a.h"
You can’t perform that action at this time.
0 commit comments