@@ -202,10 +202,10 @@ Image::as_rgba_str(const Py::Tuple& args, const Py::Dict& kwargs)
202
202
std::pair<agg::int8u*, bool > bufpair = _get_output_buffer ();
203
203
204
204
#if PY3K
205
- Py::Object ret = Py::asObject (Py_BuildValue (" lly #" , rowsOut, colsOut,
205
+ Py::Object ret = Py::asObject (Py_BuildValue (" nny #" , rowsOut, colsOut,
206
206
bufpair.first , colsOut * rowsOut * 4 ));
207
207
#else
208
- Py::Object ret = Py::asObject (Py_BuildValue (" lls #" , rowsOut, colsOut,
208
+ Py::Object ret = Py::asObject (Py_BuildValue (" nns #" , rowsOut, colsOut,
209
209
bufpair.first , colsOut * rowsOut * 4 ));
210
210
#endif
211
211
@@ -272,7 +272,7 @@ Image::color_conv(const Py::Tuple& args)
272
272
}
273
273
#endif
274
274
275
- PyObject* o = Py_BuildValue (" llN " , rowsOut, colsOut, py_buffer);
275
+ PyObject* o = Py_BuildValue (" nnN " , rowsOut, colsOut, py_buffer);
276
276
return Py::asObject (o);
277
277
}
278
278
@@ -290,7 +290,7 @@ Image::buffer_rgba(const Py::Tuple& args)
290
290
291
291
args.verify_length (0 );
292
292
int row_len = colsOut * 4 ;
293
- PyObject* o = Py_BuildValue (" lls #" , rowsOut, colsOut,
293
+ PyObject* o = Py_BuildValue (" nns #" , rowsOut, colsOut,
294
294
rbufOut, row_len * rowsOut);
295
295
return Py::asObject (o);
296
296
}
0 commit comments