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 11/* -*- mode: c++; c-basic-offset: 4 -*- */
22
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-
73/* For linux, png.h must be imported before Python.h because
84 png.h needs to be the one to define setjmp.
95 Undefining _POSIX_C_SOURCE and _XOPEN_SOURCE stops a couple
@@ -139,6 +135,9 @@ const char *Py_write_png__doc__ =
139135 " Byte string containing the PNG content if None was passed in for\n "
140136 " file, otherwise None is returned.\n " ;
141137
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.
142141static PyObject *Py_write_png (PyObject *self, PyObject *args, PyObject *kwds)
143142{
144143 numpy::array_view<unsigned char , 3 > buffer;
You can’t perform that action at this time.
0 commit comments