File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
/* -*- mode: c++; c-basic-offset: 4 -*- */
2
2
3
- // this code is heavily adapted from the paint license, which is in
4
- // the file LICENSE_PAINT (BSD compatible) included in this
5
- // distribution.
6
-
7
3
/* For linux, png.h must be imported before Python.h because
8
4
png.h needs to be the one to define setjmp.
9
5
Undefining _POSIX_C_SOURCE and _XOPEN_SOURCE stops a couple
@@ -139,6 +135,9 @@ const char *Py_write_png__doc__ =
139
135
" Byte string containing the PNG content if None was passed in for\n "
140
136
" file, otherwise None is returned.\n " ;
141
137
138
+ // this code is heavily adapted from the paint license, which is in
139
+ // the file LICENSE_PAINT (BSD compatible) included in this
140
+ // distribution.
142
141
static PyObject *Py_write_png (PyObject *self, PyObject *args, PyObject *kwds)
143
142
{
144
143
numpy::array_view<unsigned char , 3 > buffer;
You can’t perform that action at this time.
0 commit comments